on-internet

Microsoft Declares 'Code Red' After Historic Outage

Microsoft has declared a "Code Red" initiative to overhaul its engineering and crisis response practices following a 24-hour outage on November 12-13 that disrupted governments, financial firms and airlines worldwide, according to internal memos reviewed by Reuters. Never before had so many customers been without email for so long, said M365 Core President Jason Henderson. "Code Red means that this is the highest priority work for our team," Henderson added. From the report: Amanda Silver, Microsoft's corporate vice president overseeing M365 Core and Work IQ, the company's workplace intelligen

Join the discussion →

Bubble does not sort the array in C

The array is just never sorted for some reason. Here is the code: #include <stdio.h> /* swaps 2 values */ void swap(int* a, int* b){ int temp = *a; *a = *b; *b = temp; } void bubble_sort(int arr[]){ int num_of_elements_to_be_sorted = sizeof(arr) / sizeof(arr[0]); /* self explanitory */ for (int i = 0; i < num_of_elements_to_be_sorted; i++) { /* loops through the whole array starting from index 0*/ for (int j = 0; j < num_of_elements_to_be_sorted - 1 - i; j++) { /* loops through the array starting from index 1 */ if(arr[j] > arr[j+1]){ swap(&j, &j+1); } } } } int main(void){ int arr[10] = {3121

Join the discussion →

Improving EF Core SQLite queries and seeding (AnyAsync, AddRangeAsync) and understanding DbContext

I'm using an SQlite database and I wanted to know if there is a better or shorter way to do this. I made the following code as practice example. In ServersGet, I currently check db.ServerNodes.Count() > 0 before calling ToArrayAsync(), and in SeedPost I call Add(node) inside a loop. Should I use AnyAsync() instead of Count() > 0 and AddRangeAsync() for seeding, and are there other EF Core improvements I should make here? This is my Program.cs using Microsoft.AspNetCore.Hosting.Server; using Microsoft.EntityFrameworkCore; namespace ServerMS { public class Program { public static void Main(strin

Join the discussion →

Super Bowl Is Coming To IMAX Screens

The NFL and Disney's ESPN have partnered with IMAX to broadcast Super Bowl LXI live in hundreds of theaters on February 14, 2027, marking the first Super Bowl shown in the format and the largest live event in IMAX's history. "Watching the Super Bowl with your fellow fans is one of the great shared experiences in sports, and this first-of-its-kind collaboration with the NFL and IMAX takes it to a historic new scale," said Ken Potrock, president of major event integration for The Walt Disney Co. CNBC reports: The four-hour event on Feb. 14 will include ESPN's main Super Bowl game telecast, as we

Join the discussion →

More information needed on non-Gregorian calendars implemented in Apple OSs [closed]

This is going to be different. Usually when discussing programming, we love to talk about cool things we can create. I’m going to ask about a big hole in the documentation that no one seems to have realized was there but programmers around the planet should be able to at least partially fill in. I have a personal programming project, Date-O-Rama, is a date/time program which does things which Apple’s code doesn’t. One of the major issues is that Apple assumes that every calendar system starts every day at midnight, and one of the earliest things I did was coerce the Hebrew calendar to start th

Join the discussion →

What do I do about a change in my employment contract requiring a new 200 km round trip?

submitted by g8phcon2 to asklemmy 4 points | 1 comments I began employment through a contracting house in 2020 as a remote worker. A year later my car died and I didn’t buy a new one as I figured with me working remotley and her homeschooling our kids full time it would be okay as one car family. '25 summer they announced that all remote workers would be required to go to office 4 days. I bought a used car but after that I was informed that I wouldn’t be required as my contractor did not require on site work and even If I ever was offered a direct position there would be exception for people w

Join the discussion →

Google Alternative Kagi Launches An Email Service

Kagi, the company behind the paid Google Search alternative and Orion web browser, has launched a public beta of Kagi Mail, an email service promising "no surveillance, no ads, open standards, and no lock-in." "Does the world need another email service? We asked ourselves that question more than once," Kagi says. "There are great ones out there, and we're fans of what Fastmail and Tuta are doing. We still built our own, for the same reason we build everything at Kagi: technology should do its job and then get out of your way." The Verge reports: With Kagi Mail, you get an @kagimail.com address

Join the discussion →

Selecting all instances of an Anchor tag using a regular expression

Problem: My goal is to, given any HTML text as input to my Bash script, the output will be an array of all the links. Given this input: ... <div> <span></span> <span>launching on <strong>Nov 25</strong></span> </div> <a ...> <figure class="item-view-box relative"> <div ...> <div ...></div> ... </div> </a> <div ...> <a ...> <figure class="item-view-box relative"> <div ...> <div ...></div> ... </div> </a> </div> <div> <span></span> <span>launching on <strong>Nov 25</strong></span> </div> ... The output should be an array as follows: ["<a ...> ... </a>", "<a (different one right after) ...> ... <

Join the discussion →

How do I select all instances of an tag using a regular expression

Problem: My goal is to, given any HTML text as input to my Bash script, the output will be an array of all the links. For example, given this input: ... <div> <span></span> <span>launching on <strong>Nov 25</strong></span> </div> <a ...> <figure class="item-view-box relative"> <div ...> <div ...></div> ... </div> </a> <div ...> <a ...> <figure class="item-view-box relative"> <div ...> <div ...></div> ... </div> </a> </div> <div> <span></span> <span>launching on <strong>Nov 25</strong></span> </div> ... The output should be an array as follows: ["<a ...> ... </a>", "<a (different one right afte

Join the discussion →

How do I select all instances of an tag using Bash Script?

Problem: My goal is to, given any HTML text as input to my Bash script, the output will be an array of all the links. For example, given this input: ... <div> <span></span> <span>launching on <strong>Nov 25</strong></span> </div> <a ...> <figure class="item-view-box relative"> <div ...> <div ...></div> ... </div> </a> <div ...> <a ...> <figure class="item-view-box relative"> <div ...> <div ...></div> ... </div> </a> </div> <div> <span></span> <span>launching on <strong>Nov 25</strong></span> </div> ... The output should be an array as follows: ["<a ...> ... </a>", "<a (different one right afte

Join the discussion →

9/UX: a Macintosh-inspired desktop for 9front

I have written a story about this on the Register, but of course I can't post that here. I think this is a quite astonishing effort and could make 9front considerably more usable... but it's bot-assisted, so I don't think they'll take it. Comments

Join the discussion →

did peertube and funkwhale get the least of the migration waves??

submitted by Adniem to asklemmy 1 points | 0 comments i think yes (in my opinion): because reason 1: There was no true “YouTube Exodus” for any form of peertube to grow, while lemmy and mastodon got exodus’s because they were easy to use, less costly for instance mods and many more reason 2: even if a “spotify exodus” happens, artists probably won’t probably flock to funkwhale out of all things, but other centrailzed platform’s what is your opinion

Join the discussion →
Older stories