Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)F
Posts
2
Comments
1236
Joined
3 yr. ago

  • Wait so what would you have to do if you were covered by the CRA? The article mentions limited reporting & policy requirements for "open source stewards". I'm curious what the requirements are for full on commercial entities though.

  • Has anyone used Jujutsu and Sapling? Which is better?

  • Pretty disappointing that some people think this is acceptable behaviour.

    At least it's still very obviously "AI slop" as they put it. If ChatGPT ever stops its distinctive patronising waffle it's going to be much more annoying to filter out.

  • Yeah I didn't mean to imply systemd wasn't suitable for professional use, rather that shepherd is only going to be used by people who want to set this up themselves programmatically.

    Like how the average computer user is never going to use Nix to install Firefox or whatever.

  • Ah right so sherperd is designed for developers and professional sysadmins, and systemd is something that "normal" users (e.g. Ubuntu users) might use?

  • It's a Settlers 2 clone. It's deliberate.

  • Rust async has quite a lot of footguns that other async runtimes don't have. There are some listed here:

    Honestly if you're using an async Rust web framework (which they pretty much all are) it may be the path of least resistance to still use async. But in general I would strongly prefer scoped threads, channels, rayon etc.

    many simultaneous requests

    Unlikely to be so many that threads would be an issue.

  • Have a go on your free time and see if you like it. There is an absolute ton of free learning material online. You don't need to pay anyone.

    Most programming jobs (e.g. making web sites) are easy enough for the average person to do, but I think most people would find programming far too tedious and boring to learn.

    It's like law - there's nothing particularly difficult about it but most people find it incredibly mind numbing to read legal documents.

    So I would have a go in your free time first to make sure it is something you could do.

  • I don't really know anything about Vim so I'd have to take your word for it.

  • I would say:

    1. Avoid async if you can. It's way more difficult and error prone than non-async Rust. Unfortunately a lot of web stuff insists on async.
    2. Don't be afraid to .clone() stuff to fix lifetime errors. It's not optimal but consider that in C++ everything is pretty much cloned by default, and nobody ever said C++ was slow.
    3. Use anyhow::Result for error handling. It's the easiest option.
  • Where's the code that doesn't quote this properly? I'm guessing it's Bash.

  • They're saying it's a code editor and an IDE.

    lol it doesn’t have testing or debugging by default!

    So the fact that they've designed it with an extensible architecture somehow makes it not an IDE? That doesn't make any sense at all.

    I guess Eclipse isn't an IDE either then?

  • They didn’t have that originally

    They added it within 4 months of launch.

    they added it because of people like you that are arguing that it’s an IDE when it clearly isn’t.

    They added text saying it is an IDE because they didn't want people to think it is an IDE? I think you've misunderstood.

    It’s a text editor with code highlighting, fast search, and an understanding of different languages...

    And integrated debugging, testing, refactoring, ... Why exactly do you think it is not an IDE?

  • Yes I'd say so.

  • MS even clarified that it’s not an IDE

    Microsoft doesn't get to define what an IDE is. Also... I actually reread what they said and the implicitly say it is an IDE (and a "code editor" which is a fairly meaningless term):

    Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.

    "to fuller featured IDEs", not "to IDEs".

  • In that case I would recommend using an IDE that supports C well. On Windows Visual Studio will get you far and it is the easiest to set up with wizards to create projects etc.

    Alternatively you could use VSCode but it's a bit harder to set up.

    1. Install VSCode
    2. Install the clangd extension from the marketplace. It's better than the official Microsoft C++ one.
    3. Also install the CMake extension.
    4. Create a CMake project by hand (you need CMakelists.txt and main.c). In the CMake make sure you add

     
        
    set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
    
      

    That will give you perfect code intelligence (error squiggles etc).

  • Yes in some ways it is not a beginner friendly IDE. I would also point to launch.json as being a right arse.

    Still an IDE though.

  • There isn't a hard line. IDE means Integrated Development Environment. It just means that tools that - in the stone ages - were used separately are integrated into your editor. Common tools that IDEs integrate that would be separate tools with a text editor like Notepad:

    • Debuggers
    • Code intelligence (auto-complete, refactoring, go-to-definition, find-references, etc.)
    • Compile/run/debug shortcuts
    • Test running and displaying results
    • Version control

    VSCode has all of those. The fact that it implements them in a pluggable way doesn't mean it doesn't.

    Even though "is it an IDE" is a blurry line, VSCode is very clearly far across that line.

    The only reasons people say it isn't are a) as a put-down - it's not a real IDE like

    <my favourite alternative>

    - or b) because Microsoft put some nonsense about it not being an IDE on their website in order to try and explain why they make two IDEs (VSCode and VS).

  • What language are you using?