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/)O
Posts
89
Comments
1506
Joined
3 yr. ago

  • I read the intro here, opened the page and saw "105 minutes". Uh... I think I'll wait for the conclusion of what the C++ committee does instead of reading this monster of an article (even though I do like the apprehensive tone of it).

    Edit: oh wow, is this really the new boost logo? Is boost.io a joke website or something?

    Anti Commercial-AI license

  • If you’re like many developers and you generally use println for debugging and rarely or never use an actual debugger, then this is wasted time.

    I weep for the time lost on debugging with println. Good grief. It's like having access to a time stopping ability and going "nah, I like trying to add a marker and tracing footsteps".

    Yes, for multi threaded workloads there aren't many options, but most are single threaded and eschewing a debugger is bonkers to me.

    Anti Commercial-AI license

  • 👏👏👏

    Great response. You didn't just recommend your favourite but considered the requester's input, explained why options were filtered out, and narrowed it down to an option with a great description.

    I hope OP agrees, but this is what'd be considered stellar customer service if OP were a customer.

    Anti Commercial-AI license

  • I bet this won't have an impact on memory safety and interop means C++ compilers have to be stricter about memory layout and reduce unspecified edge cases.

    Anti Commercial-AI license

  • The U.S destroying its own economy. Who could've asked for a better Christmas present? With Trump at the helm next year, it's only a question of time before trade partners tell the U.S to fuck off and they stop ignoring decisions like these.

    Anti Commercial-AI license

  • I'm actually surprised there is no specification. It's how I thought languages were written: spec first, implementation later. Do RFCs serve this purpose?

    Anti Commercial-AI license

  • That's pretty cool, but terrifying as well. Can't wait for somebody to go a step further and start writing proc macros (call it rusht) to replace bash scripts with rust scripts. Actually, now that I think about it, not so terrifying. They can probably be debugged better, could be safer (unless someone starts publishing malicious proc macros), allow dependencies to be added to compose better scripts without relying on they system's package manager, and so much more.

    Anti Commercial-AI license

  • It has many upsides like every page being a markdown file, the interface is nice and easy to use, it supports embedding files images, videos, diagrams and PDFs, highlighting PDFs and referring to the highlights, saved searches (e.g all tasks about "life", pages about science and " forum responses", ...), and I'm probably forgetting a few. It even has a mobile app that's works quite well.

    The downside however is that it's all in some functional language transpiled into JavaScript to run in electron. There's no CLI to take a directory and spit out HTML files to host your notes, "automation" means downloading and running the electron app, then interacting with an API that controls electron and simulates clicking. It's amongst the worst solutions I've seen for automation and I'm not sure why they built the application this way. And because it's an electron app, there are unnecessary difficulties on read-only system partitions / atomic operating systems. Finally, though opensource, they have a Contributor Licence Agreement (CLA).

    My fear is that there will be a rugpull at some point in the future and I'll have to find an alternative solution, so right now I'm on the (passive) lookout for opensource alternatives with mobile apps. Found nothing yet and I don't want to start developing one myself (no time).

    Anti Commercial-AI license

  • Eventually, painfully, slowly, we'll move to memory-safe languages. It really is a good idea. Personally, though, I don't expect it to happen this decade. In the 2030s? Yes, 2020s? No.

    This. Unless the government starts introducing fines or financial incentives (like fines) to force the use of memory-safe languages, ain't nothing gonna happen.

    Anti Commercial-AI license

  • Difficult? How so? I find compiling C and C++ stuff much more difficult than anything python. It never works on the first try whereas with python the chances are much much higher.

    What's is so difficult to understand about virtual envs? You have global python packages, you can also have per user python packages, and you can create virtual environments to install packages into. Why do people struggle to understand this?

    The global packages are found thanks to default locations, which can be overridden with environment variables. Virtual environments set those environment variables to be able to point to different locations.

    python -m venv .venv/ means python will execute the module venv and tell it to create a virtual environment in the .venv folder in the current directory. As mentioned above, the environment variables have to be set to actually use it. That's when source .venv/bin/activate comes into play (there are other scripts for zsh and fish). Now you can run pip install $package and then run the package's command if it has one.

    It's that simple. If you want to, you can make it difficult by doing sudo pip install $package and fucking up your global packages by possibly updating a dependency of another package - just like the equivalent of updating glibc from 1.2 to 1.3 and breaking every application depending on 1.2 because glibc doesn't fucking follow goddamn semver.

    As for old versions of python, bro give me a break. There's pyenv for that if whatever old ass package you're installing depends on an ancient 10 year old python version. You really think building a C++ package from 10 years ago will work more smoothly than python? Have fun tracking down all the unlocked dependency versions that "Worked On My Machine 🏧" at the start of the century.

    The only python packages I have installing are those with C/C++ dependencies which have to be compiled at install time.

    Y'all have got to be meme'ing.

    Anti Commercial-AI license

  • Wat?

  • I like the prospect of more Linux hardware hitting the market with officially supported distros. The European Union should be funding this kind of stuff to supplant Microsoft within its borders.

    Anti Commercial-AI license

  • My immediate thought was: why not NixOS as a base? Building KDE is such a nightmare that if they had to deal with it themselves on NixOS, it would help them clear up their dependencies. Right now it's such a big mess of unnamed and implicit dependencies that exposing it to the team would also show them how to cut down on them.

    My hope was also that if the KDE team were invest in a NixOS offshoot, that the OS would finally get proper GUIs or integrations into existing GUIs like Discover (why not Diskover?) Or the system settings and other config management.

    But, to be fair, I could understand if they considered it, took one look at the documentation and noped out.

    Anti Commercial-AI license

  • This is the same argument as "capital flight". It's a bad one as most opensource isn't used commercially. There are thousands of projects maybe millions of projects out there not found anywhere in commercial projects. Most aren't written to end up being used commercially either, but if they ever are, they should get paid.

    Arguing against adding a line to get paid in case it's used commercially, is as bad an argument as taxing the rich "because one day I might be rich".

    Anti Commercial-AI license

  • Nix needs a typed language, better CLI interface, better documentation, a distributed cache, to to get rid of the monorepo / single source of control, to support different builders (aka not just bash), and have a less toxic community.

    For nix to be used by normal, non technical users, it must have a GUI. That is not optional.

    Nix could be great for a lot of things, but it's not the only solution and won't be the last.

    Anti Commercial-AI license

  • Does crates.io have a backup plan?

    Jump
  • Is that a problem with java? In fact, is it even a problem on github where repos are namespaced by user or org?

    Anti Commercial-AI license