linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

velox_vulnus, (edited ) in Imagine Linux on an Arm SoC that benchmark better than Apple's M2 Max!

deleted_by_author

  • Loading...
  • ftatateeta,

    You might wait for a long time if America bans RISC-V development.

    mindbleach,

    And computing might be hard if Godzilla eats all the power stations.

    mindbleach,

    You don’t trust… a company that licenses an ISA?

    When your current alternative is a duopoly spearheaded by Intel?

    velox_vulnus,

    deleted_by_author

  • Loading...
  • mindbleach, (edited )

    That’s worse!

    edit: Actually it’s also incorrect, since Nvidia is making ARM chips, not x86.

    Chobbes,

    I think you’ll be waiting a pretty long time for high end RISC-V CPUs, unfortunately. I don’t particularly trust Qualcomm, but I’m really hoping to see some good arm laptops for Linux.

    stella,

    That’s fine. We got our powerful computers to work with until then.

    the_lone_wolf,
    @the_lone_wolf@lemmy.ml avatar

    See milk v pioneer if you need high end risc-v PC

    taanegl,

    I kind of agree, in that ARM is even more locked down than x86, but if I could get an ARM with UEFI and all computational power is available to the Linux kernel, then I wouldn’t mind trying one out for a while.

    But yes, I can’t wait for RISC-V systems to become mainstream for consumers.

    Pantherina,

    Could you explain how its more locked up?

    taanegl,

    Generally speaking, and I’m not talking about your Raspberry Pi’s, but even there we find some limitations for getting a system up and booting - and it’s not for lack of transistors.

    But say if you take a consumer facing ARM device, almost always the bootloader is locked and apart of some read only ROM - that if you touch it without permission voids your warranty.

    Compare that with an x86 system, whereby the boot loader is installed on an independent partition and has to be “declared” to the firmware, which means you can have several systems on the same machine.

    Note how I’m talking about consumer devices and not servers for data centres or embedded systems.

    Pantherina,

    Interesting, so you cant just use any Bootloader on Arm Linux? Like systemd-boot or grub2?

    onlinepersona,

    Same. I’d love it if RISC-V came out with a competing chip.

    alt, in How bad/terrible is this docker image? (Click here to see it.)

    From a comment of yours;

    Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its security.

    If the end-goal is not learning but having an as secure container as possible, then consider Wolfi; this is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider Trivy as it is -to my knowledge- the industry-standard for this specific use-case.

    GustavoM,
    @GustavoM@lemmy.world avatar

    If the end-goal is not learning but having an as secure container as possible

    It’s actually both – there is always something new to learn, after all. And thanks for these tips, I’ll read em right now.

    tony, in Any way to add an "It's now safe to turn off your computer" message at the end of shutdown?

    Just before shutdown you’re at the terminal so something like this github.com/stolk/imcat on the image at the end of shutdown script might work.

    patatahooligan,
    @patatahooligan@lemmy.world avatar

    This looks like it represents the image with block characters, so it ends up being very low res. I suspect it will be horrible at rendering text.

    @RickyRigatoni, maybe you can hack this together with something like plymouth. Normally it’s for the boot process, but it might work for shutting down as well.

    RickyRigatoni,
    @RickyRigatoni@lemmy.ml avatar

    If the terminal resolution is high enough and I tweak the image a bit it should look fine. I’ll look into Plymouth, too, because I might as well use that for a classic windows boot.

    patatahooligan,
    @patatahooligan@lemmy.world avatar

    It seems like it’s using blocks that are half a character tall, and I imagine using the combination of foreground and background colors to get two colors into each character space.

    Therefore your horizontal resolution will be equal to the length of each line in characters. Your vertical resolution will be equal to two times the number of lines on the screen. So maybe it’s doable with high resolution and tiny font. I don’t know what the limits for those are.

    RickyRigatoni,
    @RickyRigatoni@lemmy.ml avatar

    This sounds perfect. Thank you.

    obinice,
    @obinice@lemmy.world avatar

    Once you’ve figured this out, tell me about it please! :-D

    I was just thinking about how I miss this screen the other day haha

    Petter1, in Imagine Linux on an Arm SoC that benchmark better than Apple's M2 Max!

    I hope for Microsoft to just give up and build a new "windows“ which is just an other Linux distro xD

    Ducking windows can’t even clone the Linux kernel right now

    jsh,

    That’d be based, but I don’t think there’s anything in that for them.

    Petter1,

    Well, I’m sure they find a way.

    Duxon,

    They’re a platform company that provides services. They could build proprietary services on top of a Linux distro. Basically the same as they’re doing now with Edge.

    Cysioland, (edited )
    @Cysioland@lemmygrad.ml avatar

    They’ll probably sooner embrace-extend-extinguish Linux with WSL

    vanderbilt,
    @vanderbilt@beehaw.org avatar

    IIRC Microsoft’s woes in the ARM space is two-fold. First is the crushing legacy compatibility and inability to muster developers around anything newer than win32, and second was signing a deal to make Qualcomm the exclusive ARM processors for Windows for who knows how long.

    the_lone_wolf,
    @the_lone_wolf@lemmy.ml avatar

    Deal is going to expire in 2024!

    TechAdmin, in Linux Distribution Timeline

    I started with Slackware around 1997 because I needed a free C compiler plus all I had were junk, hand-me-down computers. Stopped programming & using linux around 2000 and had switched back to Windows on a newly built, decent computer. From about 2000 until about 2016 I rarely used linux besides a couple routers. Raspberry pi 3 came out with built-in wifi & my dislike of Windows 10 got me back into linux for more use cases. Valve’s work on proton finally made it so I could switch to linux for most gaming & my Windows usage dropped to almost nothing. Currently using Manjaro on primary desktop and Fedora 38 on tablet with mix of distros in LXC & VMs on mini-PC w/ Proxmox VE & Synology NAS. SteamVR on linux been getting decent amount of work on it lately so once it gets stable I’ll have one less reason to need Windows.

    dallen, in How bad/terrible is this docker image? (Click here to see it.)

    Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?

    This is creative but not common approach to docker.

    Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.

    It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.

    In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.

    GustavoM, (edited )
    @GustavoM@lemmy.world avatar

    copying in key elements from the host machine

    Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.

    Still, I appreciate your input.

    lidstah, (edited )
    @lidstah@lemmy.sdf.org avatar

    A bit late but you might want to have a look at docker multi-stage build documentation which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:

    
    <span style="color:#323232;">FROM someimage:sometag AS build
    </span><span style="color:#323232;">[do stuff]
    </span><span style="color:#323232;">FROM minimalimage:someothertag
    </span><span style="color:#323232;">COPY --from=build /some/file /some/other/file
    </span><span style="color:#323232;">[and so on]
    </span><span style="color:#323232;">USER somebody
    </span><span style="color:#323232;">CMD ["/path/somecommand"]
    </span>
    

    Which will simplify building new images against newer “build” image newer tags easier.

    btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.

    GustavoM,
    @GustavoM@lemmy.world avatar

    Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?

    That aside, thank you for your input and compliment.

    lidstah,
    @lidstah@lemmy.sdf.org avatar

    You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.

    By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)

    GustavoM,
    @GustavoM@lemmy.world avatar

    Oh, I see. Thanks for clarifying. And I’ve got to admit that “dockerizing” everything is a fun process indeed. :P

    ftatateeta, in Linux holds more than 8% market share in India, and it's on the upward trend

    Why is linux so popular in India?

    embed_me,
    @embed_me@programming.dev avatar

    I can speculate:

    1. Engineering is very popular in India and computer programming is one of the courses that is common to all disciplines. Our professors recommended installing Linux.
    2. A few years back, Dell would sell budget laptops with Ubuntu preloaded instead of Windows. Although I can’t find any right now.
    3. Back around 2010s, in my state edu. board, we were taught about Ubuntu in high school and had Linux Mint installed in our school computers. Although the material was very shallow and designed short-shortsightedly, it helped introduce Linux and FOSS to lots of us.
    Rhapsodicjock_108, (edited )

    Government departments are slowly ditching windows because everything they need to do can be done on Linux without malware attacks and every application screaming “buy me!” every time you open it.

    Also educational institutions (at least in my State) do give basic Ubuntu training. I learned Gimp ,Inkscape and Libre office as part of my curriculum.

    And we love free stuff.

    andruid,

    There is also the reduction of dependencies on non-democratic institutions for the government to function! The America first policy held by the US for a few years triggered a lot of planning from governments to increase their ability to sovereign from the states.

    the_lone_wolf,
    @the_lone_wolf@lemmy.ml avatar

    Bcz being seen as a hacker is cool

    markkdark,

    Because they are smarter than the West and less likely to use the biggest “scam” called Windows. Linux is also suitable for less modern computers and useful with excellent FOSS software.

    ShitOnABrick, (edited )
    @ShitOnABrick@lemmy.world avatar

    India is a country with a huge population India is also a third world country where people. 1 computer is probably an years wages for most Indians. And alot of linux distros run well on older hardware same goes for eastern europe and africa or so I hear plus engineering is very popular over there as embed put it himself

    yoz,

    Probably lots of devops and network engineers

    dvtt,

    Probably because Microsoft made newer versions to of Windows unusable on the cheap, older machines that are common there

    danielfgom,
    @danielfgom@lemmy.world avatar

    Because it’s free. That’s the beauty of FOSS software. But only is it user freedom respecting but also often free of charge.

    In third world countries like India where only a small percentage can afford a Windows licence, Linux can thrive. And once people see it can do anything that Windows can, and far better with no security concerns, plus they can modify and build upon Linux, they tend to adopt it with passion.

    If you’re starting a business in India and have little money but need an OS to run your business, Linux can do that for you for free.

    LeFantome,

    I suspect it is a combination of its being free, working well on older hardware, and the tech literacy in India.

    Software development and engineering are important aspects of the Indian economy. Linux is arguably the best platform for that kind of work, especially in the cloud. Tech support of those kinds of systems require the same skills.

    Given how well Linux runs on older machines, I consider low Linux penetration a hallmark of rich countries.

    In my own household, Linux goes on all the older hardware ( including Macs ). That has really extended the length of time before hardware needs to be replaced. It also means that, over time, the percentage of active equipment using Linux has increased.

    csolisr, in Firefox Development Is Moving From Mercurial To Git

    I wonder if they’ll consider Codeberg as their future Git host of choice. GitHub is less than ideal in terms of digital sovereignty, GitLab also has some questionable leadership. Codeberg seems like the most solid alternative to these so far.

    victron, in Imagine Linux on an Arm SoC that benchmark better than Apple's M2 Max!
    @victron@programming.dev avatar

    I see Linux users still thirsting over apple hardware

    onlinepersona,

    Whatever you want to convince yourself of, bud. Never buying hardware from Apple ever.

    vsh, (edited )
    @vsh@lemm.ee avatar

    Buying? Nope

    Wishing I had that M1 CPU? Hell yeah

    onlinepersona,

    Why tho? AMD’s 7840HS performs better at 35W and is x86_64.

    stardreamer, (edited )
    @stardreamer@lemmy.blahaj.zone avatar

    Because anyone who works at the assembly level tends to think that the x86_64 ISA is garbage.

    To be fair, aarch64 is also garbage. But it’s less smelly garbage.

    That being said, I’m not expecting any of these CPUs to be hanging in the Sistine Chapel. So whatever works, I guess.

    vsh, (edited )
    @vsh@lemm.ee avatar

    Apple components work faster because they are welded together to the motherboard. You can’t cheat physics.

    CafecitoHippo,

    Even if we were thirsting over it, what’s wrong with it? Apple makes some impressive silicon that’s really efficient. The problem is that it’s tied to their products and closed off. You can marvel at what they’re doing on the production side while not liking their business practices.

    marcell, (edited ) in The ASUS Eee PC and the netbook revolution (including Linux)

    it is not fair to write this kind of history and not to mention one laptop per child.

    yoz, in Linux holds more than 8% market share in India, and it's on the upward trend

    Thank you India

    xohshoo, in Imagine Linux on an Arm SoC that benchmark better than Apple's M2 Max!

    don’t care about absolute performance, more interested in performance/watt

    GustavoM,
    @GustavoM@lemmy.world avatar

    “The real winner is the one who loses the most” indeed.

    AnUnusualRelic,
    @AnUnusualRelic@lemmy.world avatar

    I’m more interested in something that has an actual hardware and software ecosystem. I’m no longer interested in soldering my computer and it’s peripherals together.

    onlinepersona, in Linux holds more than 8% market share in India, and it's on the upward trend

    We need more Linux marketing and more Linux hardware shops like Tuxedo Computers, SlimbookES, Purism, etc.

    Hopefully the Steam Deck is contributing here too.

    electric_nan, in Distro Picking

    Linux Mint Debian Edition. Second choice would be Fedora.

    KingThrillgore, in Imagine Linux on an Arm SoC that benchmark better than Apple's M2 Max!
    @KingThrillgore@lemmy.ml avatar

    Qualcomm you say?

    I’ll believe it when it ships

    the_lone_wolf,
    @the_lone_wolf@lemmy.ml avatar

    Qualcomm is my main fear also. They will ship it with lots of closed source firmware digitally signed with their private keys which users can’t replace so expect a shitty bootloader and don’t forget about always running hypervisior, trust zone and world most kept secret modem

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #