Skip Navigation
Is it possible to use Linux without the command line?
  • People claiming Linux isn’t a viable alternative cause you can’t run it without using the command line.

    Even in 2024, many people begin using GNU/Linux with Arch Linux or Ubuntu with apt-get, then later they complain that Linux is not for average users. Maybe the community needs more GUI only tutorials.

  • OMAKUB: Opinionated Ubuntu Setup in 1 Command

    The video offers a practical example of using Ubuntu for web development, reminiscent of the Rails screencasts popular two decades ago. Back then, many software developers I met still believed the iBook G4 was primarily for desktop publishing, not software development.

    1
    Linux as the new developer default at 37signals
    world.hey.com Linux as the new developer default at 37signals

    For over twenty years, the Mac was the default at 37signals. For designers, programmers, support, and everyone else. That mono culture had some clear advantages, like being able to run Kandji and macOS-specific setup scripts. But it certainly also had its disadvantages, like dealing with Apple's awf...

    Linux as the new developer default at 37signals

    dhh is the creator of Ruby on Rails. He has extensively used Mac for decades. A few months ago, as far as I remember, he mentioned something like switching to Windows and WSL.

    10
    Meta releases Llama 3, claims it's among the best open models available
    www.yahoo.com Meta releases Llama 3, claims it's among the best open models available

    Meta has released the latest entry in its Llama series of open generative AI models: Llama 3. Or, more accurately, the company has debuted two models in its new Llama 3 family, with the rest to come at an unspecified future date. Meta describes the new models -- Llama 3 8B, which contains 8 billio...

    Meta releases Llama 3, claims it's among the best open models available
    2
    Is there a programming language specifically designed for interacting with SQL databases?

    Is there a programming language specifically designed for interacting with SQL databases that avoids the need for Object-Relational Mappers (ORMs) to solve impedance mismatch from the start?

    If such a language exists, would it be a viable alternative to PHP or Go for a web backend project?

    41
    How can I avoid "value assigned to last is never read" warning from this macro?
  • Clippy didn't tell anything about the macro.

    warning: dereferencing a tuple pattern where every element takes a reference
      --> src/lib.rs:13:9
       |
    13 |         &Some(ref cons_rc) => {
       |         ^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
       = note: `#[warn(clippy::needless_borrowed_reference)]` on by default
    help: try removing the `&` and `ref` parts
       |
    13 -         &Some(ref cons_rc) => {
    13 +         Some(cons_rc) => {
       |
    

    To put #[allow(this_linting_rule)] like this:

        [ $x:expr, $( $y:expr ),* ] => {
    	#[allow(unused_assignments)]
    	{
    

    I got error[E0658]: attributes on expressions are experimental.

    To put it like this:

    #[macro_export]
    #[allow(unused_assignments)]
    macro_rules! list {
        () => {
    	None
    

    It doesn't work.

  • How can I avoid "value assigned to last is never read" warning from this macro?

    Removing last will break my library.

    ```Rust #[macro_export] macro_rules! list { () => { None }; [ $x:expr, $( $y:expr ),* ] => { { let mut first = cons($x, &None); let mut last = &mut first; $( let yet_another = cons($y, &None); if let Some(ref mut last_inner) = last { let last_mut = Rc::get_mut(last_inner).unwrap(); last_mut.cdr = yet_another; last = &mut last_mut.cdr; } )* first } } }

    ```

    This macro works as I expected because it can pass these tests.

    ```Rust #[test] fn dolist() { let mut v = vec![]; dolist!((i &cons(10, &list![20, 30, 40])) { v.push(i.car); }); assert_eq!(v, vec![10, 20, 30, 40]); }

    #[test] fn turn_list_to_vec() { assert_eq!(list_to_vec(&list![1, 2, 3]), vec![1, 2, 3]); }

    #[test] fn count_elements() { assert_eq!(list_len(&list![10, 20, 30]), 3); }

    ```

    However I got the warning "value assigned to last is never read."

    How can I avoid this warning?

    P.S. Full code

    10
    Mageia 9 released
  • Because of the Redhat incident, I started to see people asking for community-based distros without a corporate that dominates the community. And, Mageia is one of them. So, I hope it will be more popular.

  • Mageia 9 released
    • KDE is the default. So, for KDE users, Mageia with KDE was tested.
    • Mageia comes with Drake tools for configuring almost everything. IMO *drakes look quite friendly. Since they have been around for 20+ years, they must be stable.
    • Each release will be supported for 18 months, which is longer than Fedora.
  • What is the advantage of PKGBUILD over RPM specs?
  • Such files are relatively easy to create and read, as they are basically shell scripts.

    I agree. I lean towards writing in Bash script instead of learning yet another special-purpose language. Nonetheless, the RPM spec doesn't seem to pose any additional difficulty.

  • Will running nREPL on a Clojure application in a production environment result in a noticeable performance impact?

    I anticipate that my application might encounter an issue that requires debugging or fixing using nREPL, but I'm concerned about the potential performance impact of using nREPL.

    0
    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/)VE
    veer66 @lemmy.one
    Posts 16
    Comments 23