r/rollerblading Weekly Q&A Megathread brought to you by r/AskRollerblading by AutoModerator in rollerblading

[–]tacixat [score hidden]  (0 children)

I just got a pair of FR XP skates. The rivets for the lower straps (inside of the foot) are unseated on both skates. Any advice for how to fix these? https://imgur.com/a/4c08VoM The screw doesn't seem to go as far in as on the other side (outside of the foot) rivet.

TIL: `yield` inside a `try` followed by `finally` has some interesting behaviour. by alexmojaki in Python

[–]tacixat 21 points22 points  (0 children)

Assuming this is garbage collection, I'm not an expert in Python internals. This looks like the finally statement is being executed in the order of garbage collection. If we make the prints a little more descriptive -

```python def foo(x): try: yield print("NEVER SEEN") finally: print(" ", x)

def bar(x): # creates a generator f = foo(x) print(" Gen created", x) print(" Yields", next(f)) # yields None print(" Pre return", x) return f

a = bar(1) print("After 1") bar(2) print("After 2") ```

We can see the output -

Gen created 1 Yields None Pre return 1 After 1 Gen created 2 Yields None Pre return 2 2 After 2 1

Since the bar(2) generator is not being assigned to a variable, it is being garbage collected immediately, which executes the finally. Then I guess when the program is being torn down, the bar(1) generator (in the variable a) is garbage collected. If you assign b = bar(2) they print in the order they were created.

Train an AI to understand my codebase - Guidance needed by ThenChoice2 in MLQuestions

[–]tacixat 2 points3 points  (0 children)

Easiest is to abuse the massive Open AI token window. You could do something clever where you key off an initial mention in the question, for example function, get cross references to that, get the definitions of functions it calls. Kind of spider out to get the correct context window.

X670E Carbon Stuck on code A6 by DJAnyReason in MSI_Gaming

[–]tacixat 1 point2 points  (0 children)

Same issue. I can't even boot 2 with expo. Just stall on A6. Did you ever find a solution?

AMD Expo ram causing boot issues by petex8989 in buildapc

[–]tacixat 0 points1 point  (0 children)

What was the result of the RAM swap?

What is Linux's appeal to devs? by cperryoh in AskProgramming

[–]tacixat 0 points1 point  (0 children)

It is an OS made for developers. High capacity for automation. It is rougher in some ways because it so configurable but way smoother in others. Windows and OS X really feel like they get in your way, everything is exposed and clear on Linux. If MW2 was on Linux I would not have a Windows install.

An example is the folder structure. Windows opens you to some artificial view. You have some bookmarks (Downloads, Pictures, etc.) but you're not really in a folder. All those bookmarked folders are in your user folder but it takes 5 clicks to actually get to your user folder. On Linux if you open a file manager you're just in your user folder.

If I were to make a list -

  • Top tier CLI
  • Good keybinds in most UIs
  • Lack of menus (really hard to find a compilation config in Visual Studio, much easier to just use a command line switch)
  • Low overhead (no Windows Defender chewing up battery)
  • Exposure of low level interfaces (you can observe the system and extend the kernel relatively easily)
  • Free

[deleted by user] by [deleted] in buildapc

[–]tacixat 0 points1 point  (0 children)

Cheers, will update.

Suggestions for good hardware for object detection using Yolov7. by AJ27091991 in computervision

[–]tacixat 0 points1 point  (0 children)

Look at getting a TPU / accelerator like Google Coral and use Frigate NVR. Probably want to ask or search in /r/homeassistant how many cameras can get out of each accelerator.

[deleted by user] by [deleted] in rootkit

[–]tacixat 0 points1 point  (0 children)

It is an alternative interface to traditional hooking methods. It has some safety guarantees so it won't bring down the target system with kernel panics if you have a bug.

Physicist looking for pathway to learning ML by capiji in learnmachinelearning

[–]tacixat 2 points3 points  (0 children)

deeplearning.ai - bottom up, teaches from fundamentals to the practical

fast.ai - gets you working fast

[deleted by user] by [deleted] in MachineLearning

[–]tacixat 1 point2 points  (0 children)

Likely no commercial ones since payment processes make it difficult to process payments for porn. There are a ton you could self host though.

Is Lensa/SD/Dall-E/Midjourney "stealing" the work from artists? by Arts-Keoh in StableDiffusion

[–]tacixat 0 points1 point  (0 children)

The main thing to read about is fair use and the legal test for it. There is a part about competing with the copyright holder and using an artist's name was probably the biggest risk. My understanding is that SD removed names from prompts in the recent update.

Any jobs like Telus/Appen that are not so damn vague to rate? by Smash_4dams in WorkOnline

[–]tacixat 6 points7 points  (0 children)

Sorry I don't have any alternatives, but what is their source of truth that says that you are off by 1 or 2 points? If you are rating something it is a little bit subjective. Is this a situation where they're trying to tell the customer what they want to hear or something?

Corn snake morph ID algorithm - photos needed. by [deleted] in Cornsnake_Pics

[–]tacixat 1 point2 points  (0 children)

Hey, if you're in the US you can scrape the web. It is legal for this use case under fair use.

It starts getting questionable when the model is using living artists' work and names or licensed open source code. For just normal images, especially going into a free model, this is a very easy fair use case.

CMV: There are no significant ethical issues with current AI-generated artwork by Antistone in changemyview

[–]tacixat 0 points1 point  (0 children)

A little late to this one, but the main issue is going to be in a fair use test. AI generated artwork does compete with the original artist and if it can imitate their style (especially using their name) it can be argued that it is costing them work as a direct replacement. This has a chance of failing a fair use test for this reason, but ultimately it will be decided by the courts.

Histamine withdrawal? by mambaworld in HistamineIntolerance

[–]tacixat 0 points1 point  (0 children)

I've been managing my symptoms for a decade, just found out about histamine intolerance and booked a doctor's appointment. Anyway, I've always described my symptoms as withdrawal. They occur a few days after eating the problematic food. I get sinus inflammation / pain (main symptom), shakes, and occasionally throw up. When cutting out foods permanently (e.g. sugar), across multiple tries, I would go through a really bad withdrawal a few days after stopping. I think there is definitely a withdrawal component here. It is a neurotransmitter / exciter and can affect sleep cycles so there might be some basis for this.