Putin pulls units out of Ukraine to defend Russia, Kyiv says
  • monomon monomon 2mo ago 100%

    From what I read, the incursion force brought AA, making it hard for Russian air. Moreover, they did strike a few nearby airfields.

    1
  • How to go from writing code that works to writing efficient, clean code and following good practices?
  • monomon monomon 3mo ago 100%

    This might be contrary to some, but i recommend diagramming! Can be anything from paper doodles to d2 to full blown uml diagrams. They help you stay focused, and aware of the program's data dependencies.

    Regarding code practices - read code. If you use a library for something, dive into its code. This can be beneficial in many ways - you observe the style they used, you understand better how the library works (documentation rarely contains enough detail), and you see how libraries are structured, which is often lacking in newbies.

    Learn your language's idioms. They can reduce complexity, and are usually more readable to people with experience in the given language.

    Finally, don't sweat it too much. The more you write, the better you'll become, so just do it. New problems lead to new insights.

    3
  • How to go from writing code that works to writing efficient, clean code and following good practices?
  • monomon monomon 3mo ago 100%

    This might be a bit advanced, but indeed a very good article.

    4
  • which git server for a company?
  • monomon monomon 3mo ago 100%

    Same. Really happy with it.

    3
  • A Two-Pound Ukrainian Drone Just Shot Down A 12-Ton Russian Helicopter
  • monomon monomon 3mo ago 100%

    Consumer drones already exist, that can recognize you by face and follow you.

    1
  • Why Pseudocode?
  • monomon monomon 3mo ago 100%

    I started doing exactly this. Write a bunch of functions, that may end up in different systems, on different machines, even. This allows you to define the interfaces, figure out data dependencies, and so on.

    The code may be runnable, just printing out some statements. Then I copy blocks of it to the place where it will belong.

    It's more of a thinking tool, than "actual code".

    2
  • tech
    Tech 4mo ago
    Jump
    The World Depends on 60-Year-Old Code No One Knows Anymore - YouTube
  • monomon monomon 4mo ago 100%

    You're right, this ageism is stupid. Common lisp is probably its contemporary, yet is great. Cobol does seem like a nightmare though.

    3
  • Self hosting is hard. How do you overcome?
  • monomon monomon 4mo ago 100%

    I have set up forgejo, which is a fork of gitea. It's a git forge, but its ticketing system is quite good.

    2
  • Cost by Protein Source
  • monomon monomon 4mo ago 100%

    It's not that they are separated on the chart, but that they are comparable (on both axes), that impressed me.

    1
  • Fully Virtualized Gaming Server?
  • monomon monomon 4mo ago 100%

    I know you asked about VMs, but fwiw there are GPU-capable containers now: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

    Used one of these and the setup is as easy as it sounds. It can run Houdini, Stable Diffusion.

    10
  • G7 agrees on transfer of $50 billion in profits from frozen Russian assets to Ukraine
  • monomon monomon 4mo ago 100%

    I mean didn't Russia already seize foreign companies, so the precedent is set?

    2
  • SMB, FTP, or NFS for NAS + server?
  • monomon monomon 5mo ago 100%

    Fair enough, i thought it should be noted. The difference was significant at times.

    2
  • SMB, FTP, or NFS for NAS + server?
  • monomon monomon 5mo ago 100%

    Same here, SMB was significantly slower in our organization than NFS.

    7
  • Sweden orders review after 'explosion' of ADHD cases
  • monomon monomon 5mo ago 100%

    Ditto on the usefulness and commonality of these skills. But we still need firemen, delivery workers. Lots of professions do benefit from this, maybe also sports.

    Moving them too much into the "disease" category doesn't do it service. It'd be better to teach ways to manage it.

    5
  • Selfhosted messenger/community software like discord
  • monomon monomon 6mo ago 100%

    Matrix does support voice, and I found the quality to be amazing.

    2
  • Armenia and Azerbaijan agree on ‘historic’ return of villages
  • monomon monomon 6mo ago 100%

    So relations are improving after the Russian "peacekeepers" left?

    4
  • How do you handle UX Design?
  • monomon monomon 6mo ago 100%

    One suggestion - if you get 10 plain black t-shirts, then implement your style!

    I am a dev who was focused on design and ux early on (this has changed as the needs of my work changed).

    @abhideckert's suggestion on how to analyze the needs is great. Now on to the implementation.

    Similarly to development, you start out with some requirements - you need to show an input box, a history of inputs, and a sidebar with categories. You work out the layout (with wireframes, pencil drawings, etc.). Then comes visual style, which I guess is the thing you struggle with?

    In both layout and visual style, you need to apply design principles, but ultimately the goal is to guide the visitor's eye to the right places. This is where rhythm, repetition and contrast play a role. Basically highlight important elements, make the order of elements logical and not boring, avoid large empty areas but leave sufficient "breathing room" between elements, etc.

    For visual style, you should make your own "style guide" that you apply to all personal projects. You can vary it a bit for each, if you are worried about them looking the same. Make that into a css file with a dummy html page to test. Add an input box, a textarea, select, unordered lists, etc. and style all of them to your liking. This guide will capture a lot of visual ideas, colors, spacing, which you can paste straight into your project. Do not sweat too much about stealing other people's ideas - it's an intrinsic property of art, and anyway it will probably not look 100% the same even if you copy it.

    Edit: PS: spend some time just looking at the design and thinking.

    3
  • The most recent version of KeePassXC loads indefinitely when trying to open database. Any idea how I can fix this?
  • monomon monomon 6mo ago 100%

    If you start it from the terminal, do you see any error output while it's loading?

    1
  • Chechnya bans all music deemed too fast or too slow
  • monomon monomon 6mo ago 100%

    That's so weird. So musical instruments are banned, but there is a loophole for a capella...

    1
  • github.com

    I had been meaning to try OCaml for a long time, and saw the opportunity. My daughter's school schedule was sent in an inconvenient format (screenshot), so I decided to type it in manually in sexps, which I am a fan of. These are used as a source for my program to generate icalendar with recurrences, exceptions for the holidays, and so on. Someone might find it useful as reference too.

    4
    0