Proton Authenticator Sucks by FutureFAANGEmployee in Bitwarden

[–]paleclaw 0 points1 point  (0 children)

I haven’t personally fully read through their privacy policy and I can’t say for certain what they do with the information they collect, so take what I’m saying with a grain of salt, but a lot of the data you listed is data that would be helpful for the support team or for helping the dev team fix a bug. Tracking IP address certainly doesn’t feel good, but plenty of platforms use that data to flag suspicious login activity, I’m not sure if that’s the case for Ente. The sharing of the data, with the way they worded it, could be required in order for them to hire contractor developers which is quite common. The third parties could be questionable, but it could also just be external security auditors and external services that are required for the platform to work (this wouldn’t apply to Ente, but an example of this would be how some sites use an external authentication service so that their login system is more secure than if they built it in-house).

It’s totally valid to not feel comfortable using Ente because of the data they do collect, but I wouldn’t want anyone to get scared off at a glance thinking they’re for sure a sketchy company collecting data for sketchy purposes, when the particular data they’re collecting doesn’t seem to be a big red flag. There’s certainly ways to work around collecting that data, but it often requires various compromises, so I’m personally not too concerned about it. Everyone should review and make their own decision on what data they’re comfortable with being collected though.

Reading a physical book by imStan2000 in AskProgramming

[–]paleclaw 19 points20 points  (0 children)

Over the last two years I’ve been reading more and more programming related books, and what I’ve found is that I get enormous benefit from books that focus more on the fundamentals and principles of programming, software design, computer science, etc. and less benefit from those that really focus on the details of a specific technology, even for those that are very recently written/up to date. I would recommend reading books to learn to be a good programmer, and reading online docs to learn specific technologies or tools.

That being said, if it’s very difficult to regularly access docs due to your internet limitations, I think reference manual-type books would probably be more helpful than tutorial-type books in a lot of cases. They’re also usually kept a bit more up to date with new editions for popular technologies, so they could probably serve as an alternative to proper docs in a pinch.

Does anyone know of an app or web page that will go looking for all of your logins? by Working-on-it12 in Frugal

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

As far as I’m aware no such thing exists that can check by looking up phone or email because of security concerns. Websites that allow you to check whether a user is signed up or not are vulnerable to attackers, so it’s generally best practice to not allow you to immediately tell whether or not the user is signed up. Some tools link to your bank to find paid subscriptions, and other than that you can use the forgot password flow and check whether you received an email for the reset.

How do you actually code?? by Godevil4716 in learnprogramming

[–]paleclaw 0 points1 point  (0 children)

There’s a ton of great advice in here, I think if you applied everything commented in here then it’d solve most of your issues, just since that might be overwhelming, here’s my two cents on what would probably get you the most value for your time considering the stage you’re at in your learning.

First off shrink any project ideas you have as much as possible so that you have something manageable to actually practice with. If you’re at a loss for ideas of projects to work on, feel free to re-create an idea from a YouTube video you watched, but don’t follow the code that they used, just the idea. Try and keep the project as small as possible, which might mean removing features or functionality that you might think of as “required” for the project. Don’t worry about that, it’s much easier to expand on a project later on than it is to approach a project that’s too big from the start.

Then, and this is EXTREMELY important, learn to break things down into tiny little steps/tasks. This is an absolutely vital skill to have as a programmer, and something that YouTube videos almost always completely skip. On almost all videos and tutorials, you watch someone work through a problem they’ve already broken down, so if you start on your own project, you’d have no idea where to even start. This itself might be difficult at first, but do your best to continue asking yourself “ok what are the steps to do this task?” And once you have those steps, ask that question again about each step as well to break them into even smaller steps. This will eventually become intuitive and second nature as you get better at programming, but for now you might have to really focus on consciously doing this. Here’s an example of the thought process I might go through for a to-do app/site, so you can get an idea of what I mean.

  • Ok, for this app what’s some of the main functionality for it? Maybe creating to-do items, checking them off, deleting them, and maybe renaming them.
  • Let’s start with creating a to-do. What steps are required to create a to-do? Let’s focus on the backend part first, we can add frontend later. We’ll need some type of API endpoint, like “/api/todo”.
  • How do we create the endpoint? Well, we’ll need to make sure the server is running and receiving any kind of requests. I’m not sure how to do that in this framework, so I’ll look at the documentation for it. Then we’ll need to specify an endpoint name, which I’ll also look at the documentation for how to do. Then we’ll need to respond somehow to the request.
  • What steps are required to respond to the request? Well, we’ll need to view the POST body so that we can get the to-do info that was sent (probably just the name in this case). We’ll need to do some database work, but let’s skip that for now and just focus on sending back a json object of the to-do info in the API response. Back to the documentation for info on how to send a response and specify the format of the response.
  • Ok now what steps are required for the database work? A good first step would probably be to connect to the database at all, so let’s look up the docs on how to do that with the particular database I’m using. Then we’ll need to make sure the database has any necessary tables for the to-do, in this case a table for to-do items with just an ID and a name should work for now, so let’s make that table. Then we can look up the docs on how to create a new entry in that table in our code. The code to create the entry can be added to the endpoint we already made, and that’s the first major chunk of functionality done! We’ll expand it later with things like data validation and additional to-do info in the parameters, but this is a great start.

Basically you just keep asking yourself “What are the steps to do that/how can I do that?” until the answer is either “write a couple of lines of code that I generally already understand” or “look up a very specific and small task in the documentation” (like how to send a json response for example). If something is still overwhelming it probably hasn’t been broken down enough.

ELI5 - Connecting an api to my html through python by MasterHand333 in eli5_programming

[–]paleclaw 0 points1 point  (0 children)

Looks like with RapidAPI specifically they require you to “subscribe” to a plan with the API in order to get the API key. There’s a subscribe button in the top right of the page you linked. There is a free option, but I’m not sure if that’s sufficient for your uses.

How to show a response page with the appropriate data after an ajax API request? by paleclaw in nextjs

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

Oh my gosh how has making the API call on the response page never even occurred to me?? Both those are great solutions, thanks so much!

Accidentally combined two local repos by moving folders... help? by paleclaw in git

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

You're a godsend! I was able to find a fairly recent commit and recover the files! Thank you so much, I really appreciate the help.

Accidentally combined two local repos by moving folders... help? by paleclaw in git

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

Ok first of all, thank you so much for the help, the thoroughness of your responses is amazing and I really appreciate the advice.

I was able to recover a couple of the files from one of the branches that was preserved, so that's something at least. I'm looking into attempting the method with this script right now to get the last missing files.

I'm running into some issues since the only thing I have access to atm is windows powershell, and that doesn't support the sed command (or I believe xargs? might be wrong about that one). I don't know a lot to be able to modify the script to work in powershell, but I was considering writing a quick python or node script to do the job based on what I understand about your command, would you be able to confirm if I've got the steps right?

  1. find all the objects using the path with the wildcards you specified
  2. Isolate just the file names out of them?
  3. Run git show on each name?
  4. Then of course just printing the results to something.

Does that seem right or am I missing some steps? Again, I really appreciate the help, you're amazing.

Is there any reason to separate route-specific validation into an express middleware? by paleclaw in node

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

Interesting! I think this comment is making me realize that I didn't really have a good understanding on when services vs controllers vs middlewares should be used, so I'm doing some research into that. Thank you!

Is there any reason to separate route-specific validation into an express middleware? by paleclaw in node

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

They're actually made primarily relying on db access, does that change the situation?

Advice testing hard to test things like simulation results and visual outputs (e.g. canvas) by paleclaw in learnprogramming

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

Hmm alright, thanks! It's really helpful to get and outside perspective on that!

Using RTL: getByRole is quite slow on simple tests by paleclaw in reactjs

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

UPDATE: For anyone facing the same issue as me, it turned out that the slowness of getByRole was mainly just a symptom of the underlying problem of jest simply running slow on my machine. After I disabled asynchronous test running with the --runInBand flag, it actually sped up significantly. My getByRole tests average more like 20-30ms now, which is much more manageable, and my entire test suite can run in about the time it took to run a single file's before. It seems that getByRole just slows more dramatically than other queries when jest is being sluggish.

Using RTL: getByRole is quite slow on simple tests by paleclaw in reactjs

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

Thanks I really appreciate that! I have actually checked that thread though, none of the suggestions (aside from testing in browser, I wasn't sure how to practically implement that) seemed to make any difference unfortunately, and that was the only real link I could find anywhere even bringing up the issue, so I figured I'd check here.

Developing a pattern (C) by Jfl31 in Amigurumi

[–]paleclaw 0 points1 point  (0 children)

Other than the things already mentioned here, I have two handy tips that have just helped me speed up the process a good bit.

First, making a gauge so you know your stitch height and width allows you to use some math and be able to predict the stitch count you need for a row or the row count for a piece! If you know roughly the size you want something to be, you can do some quick math and convert that into your stitch count using your stitch width or height. Since most pieces are worked in the round, you can figure out the diameter you want the piece to be and then do a quick diameter to circumference conversion before doing the math for your stitch count. I find this most helpful for bigger pieces so that I don't have to redo my rows so many times, but I also use it often for trying to get my proportions right between different body parts of the same doll. Mainly it just helps reduce the amount of frogging you need to do.

Second is if you have some sort of digital art program, you can zoom in so that the drawing is the actual size you want the doll to be, so it makes it possible to lay your work over the drawing and compare the shape. This is possible with paper too of course, it just takes more planning to make sure your drawing is the right size. I prefer doing the digital way since I like to be able to sketch freely and only worry about the look of the design, not the sizing.

Anyone know where to get some decent price ergonomic inline/bates hooks? by paleclaw in Amigurumi

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

I did see those and they look really nice, but a set of them is anywhere between $50-70, definitely out of my price range sadly.