[–] 2 points 8 hours ago (1 child)

This is the documentation from git clone --help

--depth=<depth>

Create a shallow clone with a history truncated to the specified number of commits. Implies --single-branch unless --no-single-branch is given to fetch the histories near the tips of all branches. If you want to clone submodules shallowly, also pass --shallow-submodules.

  • source
  • parent
  • context
  • [–] 2 points 23 hours ago (3 children)

    Isn't that part of the problem described in the article? A shallow clone? Github has trouble with exactly that.

    Maybe it's time the community stepped in an provided alternative solutions to nixpkgs. We can talk about them here, but in the end somebody has to implement them.

  • source
  • parent
  • context
  • [–] 3 points 1 day ago (5 children)

    I do wonder how nix could solve the nixpkgs problem. In order to build it actually requires the recipes to calculate the hash with which it builds the store path.

    Fixed output hashes could be part of the solution. A map of package and version to hash and outPath maybe? But for building from scratch e.g new packages, where would the recipes be stored? I think it would have to be in git, but where would that be stored? A monorepo again? Then we'd be back at nixpkgs.

  • source
  • parent
  • context
  •  

    What's holding back Linux on the desktop?

    Speakers:
    probono - https://media.ccc.de/search?p=probono
    Language: English
    Tags: #froscon2018, There’s a Tux in your window
    Event page: https://programm.froscon.de/2018/events/2146.html


    To make Linux on the desktop successful on a level comparable to Windows and macOS, it is key to think about the Linux desktop as a core OS platform that makes certain platform stability guarantees to developers, rather than a bunch of packages distributed by a Linux distribution. As of today, there is a number of issues making the deployment of applications to the Linux desktop unnecessarily cumbersome.

    In this talk we will highlight real-world difficulties in using the Linux desktop platform as of today, and present some ideas on how to fix them.

     

    Many companies now provide some kind of agentic tooling and expect its use. Some mandate which one, some are open. Most however, use US products and are sending all their data to Anslopic, Microslop, Goolag, ClosedAI, and so on. Not only that, they are expensive af. I've seen bills above 600€ per employee where management didn't even flinch.

    There are "inference providers", but every single one on HuggingFace is a US company. There are also the model providers themselves but again, US or Chinese with the exception of Mistral in Europe.

    To be able to convince management to use something else, it would have to be cheaper yet "powerful" (DeepSeek fits but is in China), have enough choice (it can't be a single model provider like Mistral, Anslopic, etc.), and be in Europe.

    Does such a thing exist?

     

    cross-posted from: https://lemmy.world/post/51211518

    Context is this issue at neovim [dot] github [dot] io: https://github.com/neovim/neovim.github.io/issues/501

    The neovim website has an impressions section, under which there's an impression by DHH:

    "Full-screen Neovim looks cool as hell!” — DHH

    Multiple people want that quote removed.

    For those who don't know, DHH (creator of the Omarchy Linux distro) is seen as a problematic individual by many in the Linux & OSS community:

     

    Code examples that use this convention are in my opinion terrible for comprehension - especially for domain specific examples.

    Say you have a library called libprefix and you want to demonstrate how to use it

    foobar example

    import prefixer
    
    foo = "foo"
    bar = prefixer.prefix(foo, "bar")
    print(bar) # foobar
    

    vs representative

    import prefixer 
    
    to_prefix = "to prefix"
    prefixed = prefixer.prefix(to_prefix, "not ")
    print(prefixed) # not to prefix
    

    The variables tell you what they represent

    • to_prefix a string that has to be prefixed
    • prefixed contains a string that has been prefixed

    This is just a small example, but some example have 10, 20, 50 lines of code and when I start reading and it uses this foobarbaz crap, it makes me want to close the tab and move on. Naming things is hard, but come on...
    Sometimes there are even domain specific examples where the effort is made to convert it to foobar convention just for the sake of it.

    import traffic_light
    
    foo = traffic_light.intersection("cross", 2) # 2 roads intersect
    bar = { "north": 4, "east": 1, "south": 10, "west": 0} # vehicles at each light
    baz = foo.simulate(bar) # creates a simulation object
    
    print(baz) # print out the state of the intersection (bar in this cas)
    quux = baz.step() # state of intersection after one step
    print(quux)
    

    We have all seen worse than this. Seriously, why?

     

    I was curious about opencode and tried to run it with mistral:7b as well as qwencode3:8b, but it simply couldn't execute a single command.

    It was necessary, I think, to be able to execute commands because it kept attempting to write to /home/user. So I told it to run pwd to find out where it was. That always failed.

    Was j using a wrong model? Or is opencode just incapable of running commands?

     

    It's that time again and I'd like to make my life easier. I have multiple CVs for different positions and in different languages. Recruiters and companies want the CVs in PDF.

    My current workflow is to sequentially edit the .odts (wording then layout because things move around depending on length), maybe the style, then save and export to PDF. That can take a while, so here I am, wondering if it can be sped up by simply editing a text file and generating CVs with certain themes.

    Or what your workflow is. Maybe this isn't worth automating...

    Solution

    Finally went with RenderCV (thank you @bert@sh.itjust.works), which also runs locally. YAML in, PDF, PNG, HTML, etc. out. It comes with 10 themes or so. Haven't looked at what it take to create my own (I'm lazy).

    Contender was JSON Resume, but the site is down and I tried it years ago but never got it to work properly.

     

    Equivalents because VSCode and its forks are not an equivalent.

    TL;DR Jetbrains is getting worse, more like VSCode. I want out to something as powerful but not VSCode like (which is worse).

    Jetbrains has been chasing VSCode's popularity to the detriment of its own product.

    The modal commit dialog is now opt-in, behind a nearly hidden, advanced parameter and will be removed in the not so distant future. This was part of their effort to make the UI "leaner" and more like VSCode so now Jetbrains IDEs look more like it.

    Some keyboard shortcuts have also had to be changed to be more like VSCode.

    Jetbrains used to have a good docker integration, but that's either unmaintained or undergoing work to support dev-containers better - something that jetbrains practically had nearly a decade ago, which allowed you to code on another server (remote development).

    AI Assistant and Junie (their coding agents which I have to use for work) have consistently been behind the curve and just keep getting worse. They have 2 separate products for agentic development and can't decide which to keep, so they duplicate efforts and fail at both. Now I'm asking my employer to just give me Cursor like the rest of the team, so I don't have to put up with this Jetbrains crap.

    Privately, AI it's non-starter anyway, but my guess is that Jetbrains is also focussing more development efforts on that than actually fixing existing bugs.

     

    cross-posted from: https://lemdro.id/post/43991444

    I've found this very good website. Many torrents are unofficial and created by the website staff. Some torrents are official from the project maintainers.

    I have been seeding torrents on me VPS for some time. Since I don't use most of the bandwidth. Now I have purchased an HDD IPv6-only VPS in the same datacenter to use as NAS and seed more torrents.

    If you've got some spare bandwidth and disk space, you can seed the softwares you like.

     

    I've been testing VPN services and somehow every one with a client has written their own. Proton, Windscribe, IVPN, Mullvad, AirVPN, NordVPN, and the list goes on.

    Don't these services all do the same thing? Connect to a server to get a list of servers, then use WireGuard or OpenVPN to make a connection, and have some fancy stuff like split tunneling or a killswitch. It should just take configuration by adding profiles per service and it should be possible to use the same client.

    What am I missing?

    view more: next ›