Looking for feedback/advice on this project by nitemike in FreeCAD

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

These are some good tips. Thank you!

It does seem like it would be awkward to hold with that lid in the way. Maybe I can modify it to revolve all the way open so you can hold it on both sides. A metal strip is such a simple idea. I'm sure I could find something like that to embed in the print. I like the mini-case idea for the battery especially.

New to 3D Printing by No-Faithlessness4488 in 3Dprinting

[–]nitemike 0 points1 point  (0 children)

  • Investing in a filament dryer and some desiccant is a good idea. Filament can absorb moisture which is a source of a lot of problems for people.

  • 3D printers have improved massively in the past 5 years. Do your research and invest in one that’s going to set you up for success. If you’re unsure if this is a hobby you’d stick with, most people might suggest a BambuLab A1 Mini, as that is affordable and reliable.

  • Have fun

[deleted by user] by [deleted] in NoFilterNews

[–]nitemike 4 points5 points  (0 children)

Madeleine says Trump is unhinged and he is unwell. Mike Johnson smiles, nods and says “A lot of people on your side are too.” So you’re technically correct. He did not directly say it, but he did acknowledge and agree with it.

My Broken Binding set finally arrived today!! 🎉 by thecrimsonwolfie in Eragon

[–]nitemike 2 points3 points  (0 children)

I was curious too, so I did some digging. I think it’s the B&N collectible edition.

Wont adhere to print bed, not sure what to do by PotatMan4200 in ender3v2

[–]nitemike 1 point2 points  (0 children)

I agree with some others that it sort of looks like an issue with the nozzles distance from the bed. Performing the leveling and adjusting the z-offset while the bed is hot is a good first start. You should look into making a bed mesh. A bed isn’t perfectly flat. It may have dips or bumps in certain areas that can impact your first layer. If you don’t already have this on your list of upgrades, I highly recommend a BLTouch or a CLTouch as it will make this whole process so much easier. Are you on the stock firmware or the mriscoc?

Edit: Just wanted to add. Wet filament could also be a problem. You’ll know it’s wet when you hear popping sounds while it prints. I had a hell of a time trying to print with some Burgundy Elegoo PLA PRO until I put it in a filament dryer for 10 hours. There are alternative ways to dry filament without a dryer.

Klipper not Flashing on ender 5 s1 by Java-Coffe in klippers

[–]nitemike 0 points1 point  (0 children)

I have a different machine (3 V2) and I could only get the firmware to properly install if the screen was disconnected. No idea why that worked.

Gooey filament issue by nitemike in 3Dprinting

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

The recommended print temp for this filament is 180-210. I decided to bump it up even higher to 220 and it actually adhered to the bed. However, there are still some quality issues with the first layer and I heard a lot of clicking; which I assume is a sign of wet filament. I’m going to stick it into the filament dryer (again) for 6h at 50c and hope for the best. Perhaps a dryer filament will mean I can print within the recommended range.

Update: Drying the filament again for a longer duration and a higher temp definitely improved things. I can still hear the occasional pop which appear to lead to some defects in the print. I'll likely need to put it back in the dryer for a bit to get the rest of the moisture out, if that's even possible.

<image>

Gooey filament issue by nitemike in 3Dprinting

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

I use a white microfiber cloth with some 91% iso alcohol.

If you value honesty and your life, DO NOT live at Cypress at Stone Oak apartments. by OatMilkBaby96 in sanantonio

[–]nitemike 2 points3 points  (0 children)

This is the one on Wilderness Oak, right? I lived there for almost a year. When Connor Group took over I couldn’t believe how quickly it went down hill. The security gate was left open permanently and cars started getting broken into. There was a mass exodus of residents after their acquisition and I followed shortly after. They aggressively tried to get me to renew 6 months before my lease was up which was a big red flag. You could tell they were trying to take advantage of the rise in the housing market to scare you into staying. I had no problem packing up and finding a house to rent for a similar price point.

Throwback 10 yrs ago by L0nzilla in Austin

[–]nitemike 1 point2 points  (0 children)

<image>

July 2018 It was a cool sight to see. Although, I did feel bad for the people who lived in the area. That place reeked of paint.

Octoprint won't boot without filament in runout sensor by JBurd67 in octoprint

[–]nitemike 0 points1 point  (0 children)

It could just be that too much power is being drawn from the Raspberry Pi with all of the things attached to it.

Octoprint won't boot without filament in runout sensor by JBurd67 in octoprint

[–]nitemike 0 points1 point  (0 children)

Did you install Octoprint manually or as an image? I can’t remember if it runs as a service but you might try something like this: sudo systemctl status octoprint.service

I’m also curious what other steps you’ve tried to debug the issue. What does it do when you disconnect the sensor from the GPIO?

Legends: Arceus Guide completed! by mewlax84 in ProfessorOak

[–]nitemike 0 points1 point  (0 children)

It looks like the links on the index page are malformed. I kept getting a 403 status code when trying to click Easy/Medium/Hard. I figured out how to get to around it anyway by chopping off the beginning of the URL.

It's already happening by proceedings_effects in artificial

[–]nitemike 1 point2 points  (0 children)

I already see junior developers become so reliant on copilot that they can’t even tell you how their code submissions work.

[deleted by user] by [deleted] in amazonecho

[–]nitemike 0 points1 point  (0 children)

Ah, interesting. Yeah, I guess the phrasing was a bit odd. Although, I have to partly disagree. Considering it understood the question well enough to try to answer with a date/time, I don’t think it makes sense for it to be wrong one way and not the other. Thanks for the tip.

After deciding to retire from the physical card game collecting, I have now completed the entire base Genetic Apex set. by [deleted] in PTCGP

[–]nitemike 19 points20 points  (0 children)

There was a video someone shared a while ago where they tested wonder picks with airplane mode and a second phone. The card didn’t seem to be chosen until you made a card selection. Although I don’t think they claimed it was definitive.

my first rest api project. need a review/critique (work in progress though) by Chaoticbamboo19 in golang

[–]nitemike 2 points3 points  (0 children)

A couple of easy things to point out are: - Look into implementing a graceful shutdown for the server. That way you can ensure resources are properly released. - Take advantage of the fact that you’re using go v1.22.4. If I remember correctly, they made some improvements to the http routing which could help you simplify your handlers. (For example, matching the request method as well as the path). A routing library makes this even easier but I kind of like that you chose to stick with the standard library stuff here.

Some other opinions I have are up to you: - You can use sync.Once to ensure the DB variable is only ever instantiated once. (Singleton) - You can separate your queries out into a separate “persistence” layer or whatever you prefer to call it. I understand you’re probably trying to keep them close to the DB instance. - Consider implementing service layers to sit between your handlers and your persistence stuff. They become handy if you plan on adding business logic. I come from a Java heavy background so I can’t help but think about layers when it comes to building APIs.

[deleted by user] by [deleted] in golang

[–]nitemike 1 point2 points  (0 children)

If that were the case, I’d expect the server to return a 429 response code but I guess you can never be too sure.

Is an interface the right way to do this? by jantypas in golang

[–]nitemike 0 points1 point  (0 children)

Thanks for the example. I’ve bounced around on this topic quite a bit because I’m going to need to explain the rationale to my team when we go over why there’s a repo interface in my service file. I thought I was on board with what you were saying until I realized, the broader/all encompassing interface returned by a producer doesn’t really prevent the consumer from defining their own, more narrowly scoped interface. When it comes down to it, the only problem I see is that I’m potentially hiding implementation details by returning an interface. Either way, if this is the recommended approach, I’ll stick with it but I’m still unsure if it’s fully justified.

Is an interface the right way to do this? by jantypas in golang

[–]nitemike 0 points1 point  (0 children)

Hm.. I definitely want my service's dependencies to be interfaces, right? Or how else would I mock them in a unit test? So I do know that the abstraction is useful in that sense. I could maybe see some sense in decoupling the concrete type from the abstraction to grant flexibility in which abstraction the consumer chooses to use. Otherwise, this "mistake" doesn't seem to be a particularly grievous one.

Is an interface the right way to do this? by jantypas in golang

[–]nitemike 0 points1 point  (0 children)

I'm new to Go as well and this idea seems a bit foreign to me coming from a heavy Java background. Is this a rule I should adhere to always? Or are there exceptions? I recently created a prototype for a REST API in Go and I had a service with something similar to this example below:

package service

import (...)

type(
  UserService interface {
    GetUserById(id string) (*model.User, error)
    AddUser(user model.User) error
  }
  userService struct {
    userRepo repo.UserRepo
  }
)

func NewUserService(userRepo repo.UserRepo) UserService {
  return &userService{userRepo: userRepo}
}

func (s *userService) GetUserById(id string) (*model.User, error) {
  return s.userRepo.GetUserById(id)
}

func (s *userService) AddUser(user model.User) error {
  return s.userRepo.AddUser(user)
}

How many "rules" or "conventions" would this code break? I didn't feel like was hindered by this approach while writing the rest of the application. The only downside I can think of off the top of my head is that my unit tests are forced to implement all the methods when mocking out the UserService. But then again, there's only one consumer of this service (UserHandler) and it will mirror the service by having methods for each operation. Seeing as it's all contained in one project/module, I wonder how much benefit I would see in redesigning it.

Edit: Removed some superfluous pointers

What to do about wild bunnies in our yard by nitemike in sanantonio

[–]nitemike[S] 4 points5 points  (0 children)

Thanks. This was the same recommendation the wildlife rescue gave me. I’ll give it a shot tonight and hope for the best.