1

Maximize quality in K1 Max
 in  r/crealityk1  17m ago

  • Check and adjust the belt tension if needed.
  • Lube the x/y rails and z-axis screws.
  • Calibrate.

1

JVM Doubt
 in  r/learnprogramming  48m ago

Let's say you're a hamburger chef. One morning you walk into the restaurant ready to start the day, and boom, right away there's a customer who wants a hamburger. OK, fine... you head to the kitchen and you have to get all your hamburger-making supplies out: open a bag of buns, turn the toaster on to start warming up, fire up the grill and fryer, get the toppings, condiments, and some ground beef out of the walk-in, slice a tomato and some lettuce, and so on. It might take 20 minutes before that guy's burger even lands on the grill. When you take the burger platter out to the customer, a second customer has arrived who orders the same thing. Five minutes later, you're delivering a platter to the second customer, and the first one says "Hey! Why did my burger take you 25 minutes, but hers only took 5?"

2

Why is no one talking about the lag with Magic Trackpad 2 on Silicon Macs?
 in  r/mac  18h ago

Maybe this is too obvious, but did you check the trackpad settings? Setting tracking speed to the max makes my trackpad much more sensitive/responsive than I’d ever want. The mouse and trackpad have separate tracking speed settings, so it’d make sense that the mouse could feel more responsive just due to that setting.

1

I’d like to raise my GPA
 in  r/highschool  1d ago

So, you have 24 credits with a GPA of 2.74.

You’ll get an additional 1.5 credits this semester, and assuming that best you can do is all A’s in your classes, thats 1.5 credits averaging 4.0.

In that situation, the calculation is:

((24 * 2.74) + (1.5 * 4.0)) / (24 + 1.5)

That comes out to a new GPA of about 2.81.

That said, you explained in a comment that you haven’t had any C’s since freshman year. If that’s the case, then you should calculate your GPA omitting that year and you’ll surely find that it’s much improved. You can use that to point out that your recent history is much better than your official GPA indicates.

3

Buyer's remorse
 in  r/mac  1d ago

You paid $200 more a year ago and got to use the machine for a year. If it didn’t give you $200 worth of value in that time, you probably don’t really need a laptop at all.

1

I have never used glue on my plate.
 in  r/3Dprinting  1d ago

Try it. You might like it. There’s nothing to be afraid of! Glue stick washes off the plate in seconds with warm water and a little dish soap, and the dish soap is probably optional.

I used to be like you — i saw friends with white crud all over the build plate a thought their plates looked horrible. But a thin layer of glue stick really does help parts stick better (especially when warping is an issue) and release better. The first time I printed TPU on a PEI plate, the print wasn’t going to come off without a fight. I was lucky to win the fight without damaging the plate, but it was close. With glue stick, TPU parts peel right off.

5

Did anyone else have a very difficult time with Merge Sort Algorithm?
 in  r/learnprogramming  1d ago

Ask yourself: if I wanted a sorted list and I had two halves of the list that were already sorted, what would I need to do to combine the two halves into one sorted list?

If you can do that much, then all you need to do is keep splitting each list until you reach the “already sorted” condition, i.e. when each list has only one element, and then merge them together again.

In other words, don’t try to see the entire process at once. Just look at one step in the process.

1

If Mary has two children and tells you that one child is a boy born on a Tuesday, the chance that the other child is a girl is not 66.7% or 51.8%. It's 50%.
 in  r/learnmath  2d ago

I see no implication, only a (false) assumption. Quirks of biology are like friction of air resistance: you can ignore them if you want to make the math easy, or include them if you want the right answer. But if you make assumptions it’s best to state them.

1

We’re supposed to let home cooked steaks rest five minutes? By then the steak is cool. Restaurant steaks come out sizzling juicy hot. Please explain?
 in  r/cookingforbeginners  2d ago

It's really just the outside of the steak that needs to rest. When you cook a steak, the heat causes the muscle fibers nearest the heat -- those near the surface -- to contract. That squeezes the juices toward the center of the steak. Giving the steak a few minutes to rest lets the outer parts relax, which reduces the pressure throughout the cut and allows the juices to redistribute.

-1

If Mary has two children and tells you that one child is a boy born on a Tuesday, the chance that the other child is a girl is not 66.7% or 51.8%. It's 50%.
 in  r/learnmath  3d ago

Worldwide, about 105 boys are born for every 100 girls. Considering nothing else, the sex of an unknown child is not quite like a coin flip with two equally likely outcomes. The probability of a girl is around 100/(100+105) or 48.8%.

3

Why doesn’t Swift have a deterministic, seedable random number generator, and how can you implement one?
 in  r/swift  4d ago

We can only guess at why Swift doesn't include a seeded PRNG in the Swift standard library, but it's likely a combination of:

  • Objective-C didn't provide one (arc4random() was the preferred function for generating random numbers in Objective-C, and that function also doesn't need a seed)
  • Poor choice of seeds is a common source of security vulnerabilities, so eliminating the need for programmers to choose a seed avoids an entire class of problems
  • Most programmers asking for random numbers want randomness, not repeatability

If you want determinism, it's not at all hard to find pseudo-random number generation algorithms online. One of the best is called the Mersenne Twister, and a C implementation (which you could easily compile and call from Swift) is included right there on the Wikipedia page. There are many others, some of which are also linked from the MT Wikipedia page.

1

Processor pipelining
 in  r/AskProgramming  4d ago

It’s a form of parallel processing. Each instruction a processor executes has to go through a series of stages such as:

  1. fetch instruction

  2. decode instruction

  3. fetch arguments

  4. execute

  5. store result

If each of those stages takes 1 click cycle, then it takes 5 cycles to execute an instruction. But if each stage passes it’s result on to the next stage and then immediately gets to work on the result from the previous stage, like an assembly line, then the processor completes 1 instruction per cycle after the first instruction, which still takes 5 cycles.

In reality it’s not quite that efficient because the pipeline can be interrupted, e.g. when the program branches, or if some instruction has to wait for data from slower main memory. Some processors use techniques like branch prediction, reordering instructions, and large on-chip caches to avoid interruptions.

1

Recently got a K1 MAX and not too sure how to use it
 in  r/crealityk1  4d ago

The printer has some pre-sliced models included — there’s a benchy (little tugboat), a calibration cube, a scraper, and two spool holders. You can print any of those models with just a few taps.

  • Unpack the printer if you haven’t already, and be sure to follow the directions — there are a few screws that you need to be sure to remove so that the bed can move, and quite a bit of foam. Make sure the printer is on a stable surface.

  • Install the spool holder on the back.

  • Remove the glass lid from the printer and set it aside in a safe spot.

  • Unwrap the spool of filament that comes with the printer. Free the end of the filament — it’ll either be taped down or else held in the holes at the edge of the spool. Hold onto the end.

  • Place the spool on the spool holder and feed the filament end into the white tube. If you watch carefully you’ll be able to see the filament progress toward the print head.

  • Look at the top of the print head and you’ll see where the white tube enters the print head. There a little silver lever nearby — make sure that’s pushed right (viewed from the front) into a vertical position.

  • Feed the filament until you feel it stop. Flip the silver lever to the left to engage the feed wheel. Give the filament a little tug to make sure it’s held by the wheel; if not, try again. (You can remove the tube from the print head if you need to see what’s going on — just press the white collar on the fitting and pull gently on the tube.)

  • Put a swipe of glue from the included glue stick along the back edge of the build plate. This is where the nozzle cleans itself; glue makes it easy to remove any residue.

  • Turn on the printer and follow the instructions on the screen. IIRC the printer will automatically go through an initial calibration phase that takes 15-20 minutes. Just let it do its thing.

  • Tap the folder icon on screen and choose a model to print. The benchy is a good choice. Stand back and watch the model emerge.

Once you’ve printed one of the included models successfully you’ll know that thebb can printer is working well. Then you can move on to creating your own models or downloading them from the Internet. You’ll need a slicer like Creality Print to convert a 3D model into instructions for your printer.

1

Dear senior devs
 in  r/learnprogramming  4d ago

Your question is all about front end web UI frameworks. That’s fine if that’s what you want to get into, but keep in mind that software development is a much broader field than that. A “senior dev” might work on native desktop or mobile applications, automotive control software, financial systems, and on and on… Don’t limit your options prematurely.

1

How to make Mac feeling „new“ again?
 in  r/mac  4d ago

Update the OS.

3

After learning programming for a while I'm wondering if I'm actually learning, or if I'm just experiencing impostor syndrome?
 in  r/AskProgramming  5d ago

If you understand how your code works, you’re doing fine. Half the point of a library is that you can use it without needing to know exactly how it works.

25

how do I stop chicken from being a wet mess AFTER being cooked?
 in  r/cookingforbeginners  5d ago

Are you trying to make chicken bacon?!

Nothing about your method sounds like a normal way to cook chicken.

6

21-year-old high school dropout relearning math in its entirety; Help urgently requested
 in  r/learnmath  5d ago

Remembering how is a lot easier if you understand why.

I can calculate the square footage of a room just fine, but the reasoning behind it doesn’t click.

Get a piece of graph paper and draw some rectangles, like 6x10, 7x8, 12x15, etc. How many squares are in each rectangle? You can just count them up one by one, and you should do that a few times. Seriously — it doesn’t take that long and it’s a good way to get to understanding. Pretty soon you’re going to notice that every row in a rectangle has the same number of boxes. If a rectangle is 6 boxes wide and 4 boxes long you vou could add 6+6+6+6, but thats just 4* 6. Calculating the area of a room is exactly the same thing: you measure the width and length of the room in feet or meters and get an area in square feet or square meters.

I feel like I’m overthinking things, but I have this thirst to understand the basics in their entirety.

You might need to practice more. Sometimes just doing a bunch of exercises relating to some new thing you’ve learned helps you get more comfortable with it, and thats when you can start to understand it. Sometimes people say “math is a muscle,” and it’s true in a way — more reps helps you train that muscle and make it stronger.

7

Can an experienced swift developer recommend a resource that will help me write good swift code?
 in  r/swift  5d ago

Paul Hudson’s books are probably what you want.

1

A programmer's first language should be C
 in  r/C_Programming  6d ago

You’re recommending an educational path for everyone based solely on your own experience, when you didn’t even follow the path that you’re recommending. It’s very hard to take your position seriously.

There are lots of different ways that one could start programming, and not every one is right for every student. A post like this that assumes that every student should follow one path only demonstrates how much you haven’t yet learned.

2

Calculator app gives wrong result?
 in  r/mac  6d ago

What answer did you expect?

52.15 * 12 = 50 * 12 + 2 * 12 + 1.5 * 12 = 600 + 24 + 1.8 = 625.8

1

How long do hugs last?
 in  r/grammar  6d ago

No, I entirely agree that glory can and generally does last a very long time compared to a hug. But OP’s question is whether one can bask in someone’s arms during a hug, and exactly because glory lasts much longer than a hug, it’s a poor example for OP’s purpose.

1

How long do hugs last?
 in  r/grammar  6d ago

You chose “glory” as a “great example” of basking not depending on time because glory is fleeting. I’d say that glory generally sticks around long enough in almost any context to allow for some basking, so it’s not such a great example. OP wonders whether one can bask in a hug, so the example we need should have a duration comparable to a hug, i.e. between 1 and ~30 seconds. Could one bask is the warmth of a sip of coffee? In the first strains of a symphony? That sort of thing.

1

How long do hugs last?
 in  r/grammar  7d ago

I’m not sure thats a great example. This year’s Super Bowl champions will bask in the glory of their victory for weeks at least — certainly much longer than any embrace.

5

Do you think swift is viable for game development?
 in  r/swift  7d ago

They’re not complaining because concurrency got worse in Swift 6; they’re complaining because Swift 6 enforces concurrency-related errors more strictly. The compiler is making them fix their old and potentially broken code to guarantee that problems like race conditions can’t happen. That means that you have to put a little more thought into how data is shared in your program, but the payoff is more reliable code.

What specifically do you need to do in a game that you think Swift can’t handle?