YUART

joined 5 months ago
[–] YUART@feddit.org 7 points 1 month ago (2 children)

Hi, hmm, I think that's almost the tool I had in mind. So if sonarqube exists, I guess there is no need for another tool in the same area. Thanks for sharing

[–] YUART@feddit.org 2 points 1 month ago

Hi, thanks for sharing the info, appreciated

[–] YUART@feddit.org 3 points 1 month ago

Hi, can you share an example?

[–] YUART@feddit.org 1 points 1 month ago

That's true, and that's a hard part. I have some ideas on how to solve that problem, but I can't prove anything because this is the first time I'm working on a helper like that one.

That's also the reason why I decided to ask people - there is no point in engaging in complex problem-solving, like for that tool, to only find out that no one actually needs it

[–] YUART@feddit.org 1 points 1 month ago

Hi, not really. Please, see my comment -> https://feddit.org/post/20205034/9426357

[–] YUART@feddit.org -1 points 1 month ago (2 children)

I believe those are tools that use general-purpose LLMs, which aren't tuned for refactoring specifically. So I guess a specifically tuned tool for refactoring will beat those you mentioned in refactoring tasks.

I also imagine a tool that is not AI-driven. While AI will be used for sure for some checks, I believe static checks and other "computable" heuristics will produce better output faster. I don't want to throw a bunch of prompts into AI and sell mediocre-quality software to people.

But overall, I think about what you said, but from another perspective - why have a separate webpage if such of helper can be built into IDE/editor? I think this is harder to do than to create a webpage, but maybe this will be better for users (developers).

 

Hey,

I’m exploring the idea of a webpage where you can paste a function (or a block of code) in any programming language, and it outputs a list of specific, actionable refactoring suggestions - things like:

  • Unnecessary complexity
  • Poor naming conventions
  • Duplicated logic
  • Violations of language-specific best practices
  • Readability issues

The goal is to help developers quickly spot areas for improvement and make their code cleaner, more maintainable, and easier to understand.

Questions for you:

  • Would you use such a tool? Why or why not?
  • What features would make it important for you? (e.g., integration with GitHub, support for obscure languages, explanations for each suggestion, etc.)
  • Are you ready to pay for a tool like this (for example, paying for access to advanced checks or being able to tune checks for your programming style)?
  • Are there existing tools you love (or hate) that do something similar?
[–] YUART@feddit.org 1 points 2 months ago

Hi, thank you for the reply. I tried, but it didn’t suggest any useful.

Your suggestion about drawing edges is only visual - it doesn’t actually influence position of nodes on a graph.

 

Hello,

I have a question - I have differences calculated between game genres. The difference is a positive float number, the bigger the number, the greater the difference there is between the two genres.

I want to visualise differences and I have the following code:

import json
import networkx as nx
import matplotlib.pyplot as plt

with open('genres_weights.json', 'r') as file:
    data = json.load(file)

G = nx.Graph()
max_diff = max(item['difference'] for item in data) if data else 1.0

for item in data:
    node1, node2 = item['weightsPair']
    difference = item['difference']
    weight = item['difference'] + 0.25

    G.add_edge(node1, node2, weight=weight, original_diff=difference)

plt.figure(figsize=(40, 20))
pos = nx.kamada_kawai_layout(G, weight='weight')

nx.draw_networkx_nodes(G, pos, node_size=2000, node_color='#2b83ba', alpha=0.9)

nx.draw_networkx_labels(G, pos, font_size=7, font_family='sans-serif')

plt.show()

that gives the following result for my data:

A lot of things look great, and overall graph represents data correctly (I guess). But there is the thing - in the bottom left part of the graph there are two bubbles: "immersive sim" and "rhythm". Those two genres appear to be very similar (as some other pairs of games that are very similar and have a very low number for difference), but in reality, they are not - they have a difference of 9, which is a lot (the maximum difference between genres is around 14), so I expect them to be on the different side of the graph and not nearly together.

I'm not sure where the problem is. Can someone please help me?

 

Hi,

I'm looking for something like https://www.asus.com/motherboards-components/data-storage/tuf-gaming/tuf-gaming-a1/ but EU/Europe based? Do you guys know anything?

Thank you in advance.

[–] YUART@feddit.org 1 points 5 months ago (4 children)

Sometimes you need to execute some logic in a pipeline step, like rename a file or push JSON somewhere.

[–] YUART@feddit.org 2 points 5 months ago

I mainly do things for Jenkins so I mainly code in Groovy. Most complex things I need to do is to manipulate some JSON, files, or strings. Send some messages to Slack, or push some data to DB.

 

Hi DevOps, how do you think your ideal programming language would look like? I mean a language in which you would write pipeline logic, like Python or Bash, not define pipeline steps itself, like YAML.

I think for me it would have:

  • very clean and readable syntax
  • immutable state by default
  • strong typing
  • strong tooling and IDE support
  • focus on DevOps-need things, like JSON and files manipulation
  • absence of danger things like pointers
 

Hi. I thought about creating something like https://european-alternatives.eu/, but where the community can insert new things easily, and focused on hardware (previously mentioned webpage covers software only).

So we would have an accessible database of EU-made hardware controlled by an EU crowd.

Do you think this is a good idea to have something like that?

I quickly created a webpage for that and inserted a bunch of the stuff on it -> https://artemkakun.github.io/eu-hardware/ (hosted on US-controlled software, ironically).

You can easily add a new piece of hardware here -> https://github.com/ArtemkaKun/eu-hardware Just add a new .md file to the /content folder, name it after a piece of hardware you want to add, and copy-paste the structure from any other file in that folder. Then open a Pull Request so I can check it and add your changes to the main webpage. If you are unfamiliar with GitHub - just ask ChatGPT (or better Mistral Le Chat) for help.

I just created that webpage in 1 hour, I guess, to only check if this is something people find useful. If yes - I can add more features/better webpage and add more admins who can approve new changes. If no - I will just remove it.

Tell me what you think in the comments.

 

Are there any good single board computers developed/produced in EU or Europe? Something like Raspberry Pi.

view more: next ›