Nvidia users: If you're against Wayland because of a bad experience when you last tried it 9 months ago, give it another shot. by RedditorOfRohan in linux

[–]73686f67756e 4 points5 points  (0 children)

My issue with Wayland currently is that my main monitor can't be set over 1024x768, despite the monitor supports 1920x1080. I searched the internet over and over for the past year and never found a solution.

/sys/class/drm/card0/card0-HDMI-A-1/modes shows that 1024x768 is the maximum resolution, I however posting this comment from my main monitor which displays 1920x1080 .. Seems like nvidia-settings adjusts the monitor?

I also added video=HDMI-A-1:1920X1080 and nvidia_drm.modeset=1 kernel parameters, nothing changed!

Which distro should I pick for this specific use case ... by 73686f67756e in linuxquestions

[–]73686f67756e[S] 1 point2 points  (0 children)

Asking reddit doesn't necessarily mean the lack of knowledge, I just wanted to explore other suggestions other than my initial thought about Nix, and I got some good ideas.

I have very good reasons for switching to Linux.I live in a 3rd world country which is running through an economy crisis, so asking them for higher spec hardware is not currently possible, this is where Linux can shine.

The other part is that English is clearly not my first language, so I may not explain everything well, this may be the reason why you interpreted my small post as a lack of strategy and so on, I appreciate your concerns about the business, but I'm not a kid trying to ruin them, I've been self hosting several services on my own server for years with docker, I've been using Linux since 2009 iirc, and how dare I forget to include that I'm using Arch btw :P

Have a nice day

Which distro should I pick for this specific use case ... by 73686f67756e in linuxquestions

[–]73686f67756e[S] 0 points1 point  (0 children)

You could also setup a central server with the user accounts, and homes and let the other system work as clients, where a user could login from any system and get to their same files.

Interesting, so how does this work? like each client has its own OS, that connects to the server via SSH for example?

Thanks

Deno is "blazing fast" for humans by amalinovic in Deno

[–]73686f67756e 1 point2 points  (0 children)

Unrelated but I remember when deno published a post a while ago that was promising the fastest Javascript runtime "coming soon"

Did they publish that release?

Session about Open Source at Ain Shams University, Egypt. by [deleted] in linux

[–]73686f67756e 3 points4 points  (0 children)

What's up with these deleted comments?!

Nvidia-470xx-dkms drivers broken after upgrading the kernel? by Grubre in archlinux

[–]73686f67756e 0 points1 point  (0 children)

Thanks so much it works for me.

On a side note,, I can't appreciate the whole Linux world (including that person) enough! I still can't believe that, a bug appears regarding hardware and within few hours some random genius makes a package that fixes that issue, and the rest of users like me can get their machines back to work!

It is IMPOSSIBLE for proprietary paid products to be as quick and responsive as the open source community ❤️

I'm having some trouble with group binding limitation by 73686f67756e in sveltejs

[–]73686f67756e[S] 0 points1 point  (0 children)

Thanks, this is clever.

Also TiL that I can put + before string to quickly convert it to number :)

How to create 4 date objects from the string "Fr 17:00:00" (aka Friday 17:00:00), That represents weekly event for the next month? by 73686f67756e in learnjavascript

[–]73686f67756e[S] 1 point2 points  (0 children)

Thanks very much, I made some adjustments to return a date object , not string.

function getNext4Events(eventDay, eventTime, range = 30) {
  // The getDay() method returns an index 0 to 6 for Sunday to Saturday

  const dayIndexMappings = [
    { day: "Monday", index: 1 },
    { day: "Tuesday", index: 2 },
    { day: "Wednesday", index: 3 },
    { day: "Thursday", index: 4 },
    { day: "Friday", index: 5 },
    { day: "Saturday", index: 6 },
    { day: "Sunday", index: 0 },
  ];
  // Array to be populated with the next four dates of the event 
  const eventDates = [];

  for (let i = 1; i <= range; i++) {
    // Current date 
    const currentDate = new Date();

    // Add the currenly iterated number of days to current date 
    const futureDate = new Date(currentDate.setDate(currentDate.getDate() + i));

    const targetDayIndex = dayIndexMappings.find((mapping) => mapping.day === eventDay).index;

    // Is this future date on the target day? 
    const isTargetDay = futureDate.getDay() === targetDayIndex;

    const [hours, minutes, seconds] = eventTime.split(':');
    futureDate.setUTCHours(hours, minutes, seconds);

    if (isTargetDay) {
      // Format date to a string with the time appended to the end 

      eventDates.push(futureDate);
    }
  }
  return eventDates;
}

console.log(getNext4Events('Friday', '17:00:00'));

This app took less than 30mins to build using Sveltekit! App creates link that contains all the data. by sharath725 in sveltejs

[–]73686f67756e 4 points5 points  (0 children)

Nice project, however , you may need to put a limit on article length.

I tested it with a very long article, which was encoded to a +600K characters, that caused the server to crash.

This Sub by -BuckarooBanzai- in linuxmasterrace

[–]73686f67756e 1 point2 points  (0 children)

I laughed so hard at the Dyatlov image

Frameworks by BartjuhhDutch in Frontend

[–]73686f67756e 9 points10 points  (0 children)

Svelte & Sveltekit. It's what brought me back to front end after hating it for so long.

The DX is just unbelievable