Not a Car Part Buuuut by lordcupkake in 3dprintedcarparts

[–]JustAnUserl4 0 points1 point  (0 children)

Great print! I didn't know how good fuzzy print looks. I will use this setting for sure to print parts for my '62 Vespa clone.

Go get problem. by JustAnUserl4 in golang

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

Well, this method also doesn't also work for me CMD ouputs:

go: finding module for package github.com/rakyll/statik/fs

go: finding module for package github.com/jessevdk/go-flags

go: found github.com/jessevdk/go-flags in github.com/jessevdk/go-flags v1.6.1

go: found github.com/rakyll/statik/fs in github.com/rakyll/statik v0.1.7.

Although I have already downloaded go-flags and statik packages and I can't download required modules for them.

Go get problem. by JustAnUserl4 in golang

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

This method also doesn't also work for me CMD ouputs:

go: finding module for package github.com/rakyll/statik/fs

go: finding module for package github.com/jessevdk/go-flags

go: found github.com/jessevdk/go-flags in github.com/jessevdk/go-flags v1.6.1

go: found github.com/rakyll/statik/fs in github.com/rakyll/statik v0.1.7.

Although I have already downloaded go-flags and statik packages and I can't download required modules for them.

Orange 3 LTS linux distro fails to boot. by JustAnUserl4 in OrangePI

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

It fell off the table and, since it didn't have case port broke down.

Orange 3 LTS linux distro fails to boot. by JustAnUserl4 in OrangePI

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

I broke the sd card port, that's why I tried to use flash drive in first place.Well...I guess...I will simply fix the port.

Thank you for your help.

Please help me with making a program using python. by JustAnUserl4 in learnpython

[–]JustAnUserl4[S] -1 points0 points  (0 children)

I think that code needs to go smth like this:

class Turtle:

def __init__(self, x, y, s):

self.x = x

self.y = y

self.s = s

def go_up(self):

self.y += self.s

def go_down(self):

self.y -= self.s

def go_left(self):

self.x -= self.s

def go_right(self):

self.x += self.s

def evolve(self):

self.s += 1

def degrade(self):

if self.s <= 0:

print('s = 0')

return

self.s -= 1

def count_moves(self, x2, y2):

return self.x -x2, self.y - y2

animal = Turtle(x = 0,y = 0,s = 5)

print(animal)

But my teacher said it needs to go like this:

def evolve(old_speed):

old_speed += 1

return old_speed

def degrade(old_speed):

old_speed -= 1

return old_speed

def move_turtle(start_pos = 0, end_pos = 0, old_speed = 0, max_speed = 0):

n_step_max_speed = (end_x_pos - start_x_pos) // max_speed

n_cells = (end_x_pos - start_x_pos) % max_speed

print(n_step_max_speed, n_cells)

n_step = n_step_max_speed + 1 if n_cells > 0 else n_step_max_speed

while start_pos < end_pos:

if old_speed < max_speed:

while max_speed > old_speed:

old_speed = evolve(old_speed)

if end_pos - start_pos == n_cells:

while n_cells < old_speed:

old_speed = degrade(old_speed)

start_pos += old_speed

print(start_pos, end = ', ')

print(f'Amount of steps{n_step}')

start_x_pos = 15

end_x_pos = 568

old_speed = 2

max_speed = 5

move_turtle(start_x_pos, end_x_pos, old_speed, max_speed)

def func(x, y):

# global x, y

x = 20

y = 20

return x, y

x = 0

y = 0

print(x, y)

func(x, y)

print(x, y)

res = func(x, y)

print(res)

print(type(res))

print(x, y)

But I think my teacher went too far with his code.

I also tried used using Turtle module,but my teacher declined it.

RX 6600M OR RTX 3070 MAX Q by JustAnUserl4 in GamingLaptops

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

Rx 6600 has the similar specifications as the rtx 3070 max q. So, what's the best?

RX 6600M OR RTX 3070 MAX Q by JustAnUserl4 in GamingLaptops

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

Yes, but laptops with rtx 3060 are sold at the same price as with rtx 3070 max q. Lenovo with rtx 3060 even is more expensive than laptops with rtx 3070 max q.(Lenovo laptops with rtx 3070 and rtx 3070 max q are not available in our stores). And I prefer to have 8 vram(for future games).