Content Developer II at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
132659 stories
·
29 followers

Take hold of your own performance with Ash Coleman Hynie

1 Share

Ash Hynie created CountrPT as to bridge the gap between manager perception and employee impact. Folks are tired, folks feel micro-managed, there's all this talk about return to office (RTO). Did we hire grown adults or not? What's the right way to manage technical teams, remote or other wise? How do we build relationships within our teams and with our managers where we can get direct and clear feedback about the needs of the business while still respecting that humans have feelings?





Download audio: https://r.zen.ai/r/cdn.simplecast.com/audio/24832310-78fe-4898-91be-6db33696c4ba/episodes/1f4c26ed-ff2b-4395-9962-77dc22aaf72e/audio/69c5e504-5cd5-4ab4-8289-682a2b31531e/default_tc.mp3?aid=rss_feed&feed=gvtxUiIf
Read the whole story
alvinashcraft
3 hours ago
reply
West Grove, PA
Share this story
Delete

Introducing Copilot for SQL database in Microsoft Fabric | Data Exposed

1 Share
From: Microsoft Developer
Duration: 10:59
Views: 178

In this episode of Data Expose, we will showcase Copilot for SQL database in Microsoft Fabric, an AI assistant designed to streamline your database tasks. Copilot integrates seamlessly with the Editor, providing intelligent insights to assist you at every step of your data explorations. Key features include code completion, quick actions for fixing and explaining queries, and a smart chat pane. Copilot is also contextualized to your database’s schema and can generate answers catered to you. Join us to learn how to leverage Copilot for SQL Database in Fabric to enhance your workflow and boost productivity.

Chapters:
00:00 - Introduction
01:10 - Overview
02:50 - Demo
09:45 - Security

✔️Resources:
Copilot for SQL database in Microsoft Fabric (preview) - https://aka.ms/fabric-sql-copilot
Enable Copilot in Fabric - https://learn.microsoft.com/en-us/fabric/get-started/copilot-enable-fabric

📌 Let's connect:
Twitter - Anna Hoffman, https://twitter.com/AnalyticAnna
Twitter - AzureSQL, https://aka.ms/azuresqltw

🔴 Watch even more Data Exposed episodes: https://aka.ms/dataexposedyt

🔔 Subscribe to our channels for even more SQL tips:
Microsoft Azure SQL: https://aka.ms/msazuresqlyt
Microsoft SQL Server: https://aka.ms/mssqlserveryt
Microsoft Developer: https://aka.ms/microsoftdeveloperyt

#AzureSQL #SQL #LearnSQL

Read the whole story
alvinashcraft
3 hours ago
reply
West Grove, PA
Share this story
Delete

Align the Button Text in .NET MAUI

1 Share

Mobile app developers often encounter seemingly simple UI challenges that require platform-specific solutions. One such challenge is the proper alignment of button text across iOS and Android platforms in .NET MAUI applications. In this article, we'll explore how to achieve precise control over button text alignment in .NET MAUI by leveraging custom handlers.

Create a static class FormHandler

using Microsoft.Maui;
using System.Drawing;

#if IOS
using UIKit;
using Foundation;
#endif

#if ANDROID
using Microsoft.Maui.Controls.Compatibility.Platform.Android;
#endif

namespace DemoApp.Handlers;

public static class FormHandler
{
    public static void AlignButtonTextToLeftBottom()
    {
        Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("ButtonTextAlignmentToLeftBottom", (handler, view) =>
       {
         if (view is Button b && b.ClassId=="ButtonTextAlignmentToLeftBottom")
         {
#if IOS
        handler.PlatformView.VerticalAlignment = UIControlContentVerticalAlignment.Bottom;
        handler.PlatformView.HorizontalAlignment = UIControlContentHorizontalAlignment.Left;
#elif ANDROID
        handler.PlatformView.Gravity = Android.Views.GravityFlags.Left | Android.Views.GravityFlags.Bottom;
#endif
        }
      });
    }
}

In certain scenarios you may need to apply the alignment only to a single button on your UI, if that is the case you can use the ClassId property. This way the style will be applied for only those elements with the defined ClassId, otherwise, just remove the conditional from the code above. Thanks to our friend MarcAlx for sharing this idea.

<Button ClassId="ButtonTextAlignmentToLeftBottom"/>

Register the handler

On the MauiProgram.cs file register the handler
FormHandler.AlignButtonTextToLeftBottom();

Conclusion

Custom handlers in .NET MAUI provide the flexibility needed to fine-tune platform-specific behaviors while maintaining a clean, cross-platform codebase. By implementing these solutions for button text alignment, we've not only solved an immediate visual challenge but also demonstrated the power and versatility of MAUI's handler architecture. Whether you're aiming for center-aligned text, left-justified content, or any specific style, I hope this guide will help you implement it seamlessly.

Follow me on Social:

Read the whole story
alvinashcraft
3 hours ago
reply
West Grove, PA
Share this story
Delete

Elon Musk and Donald Trump spread disinformation as wildfires rage in the LA area

1 Share
Powerful Winds Fuel Multiple Fires Across Los Angeles Area
Photo by Apu Gomes / Getty Images

As fires rage across Los Angeles and tens of thousands flee their homes, the usual suspects have decided to blame the blazes on their political enemies. In a series of posts on Truth Social, President-elect Donald Trump claimed firefighters’ inability to get the fires under control was due to California Governor Gavin Newsom’s water policies, including an effort to “protect an essentially worthless fish called a smelt, by giving it less water (it didn’t work!).” Meanwhile, on X, Elon Musk suggested that the fires were spreading due to the city fire chief’s commitment to diversity, equity, and inclusion policies. “DEI means people DIE,” Musk wrote in a Wednesday night post.

Five people have indeed died in the Eaton fire thus far, and upward of 130,000 Los Angeles County residents are under evacuation orders, according to the Los Angeles Times. But the rampant spread of the fires isn’t due to the delta smelt, DEI, or even — as Trump, Musk, and scores of mainstream publications have falsely claimed — cuts to the Los Angeles Fire Department’s budget. These claims aren’t without consequence. Last year, FEMA workers received threats on TikTok and other social media platforms as rampant disinformation spread in the wake of the devastation caused by hurricanes Milton and Helene.

The first wave of disinformation focused on fire hydrants in the Pacific Palisades, which abruptly ran out of water on Tuesday night as firefighters attempted to put out the initial blaze. The hydrants, Trump said, were running dry because of Newsom’s water policies. “I will demand that this incompetent governor allow beautiful, clean, fresh water to FLOW INTO CALIFORNIA!” Trump posted on Truth Social on Wednesday. “He is the blame for this. On top of it all, no water for fire hydrants, not firefighting planes. A true disaster!” In a separate post, Trump claimed Newsom had “refused to sign the water restoration declaration put before him that would have allowed millions of gallons of water, from excess rain and snow melt from the North, to flow daily into many parts of California, including the areas that are currently burning in a virtually apocalyptic way.”

Newsom’s office responded on Wednesday, clarifying that the declaration Trump referred to in his post didn’t exist. “There is no such document as the water restoration declaration – that is pure fiction,” Newsom communications director Izzy Gardon told CalMatters. “The Governor is focused on protecting people, not playing politics, and making sure firefighters have all the resources they need.”

Mark Gold, a board member of the Metropolitan Water District of Southern California, told the outlet that statewide water management policies, including efforts to protect the delta smelt, had nothing to do with the lack of water in the hydrants. “Tying Bay-Delta management into devastating wildfires that have cost people’s lives and homes is nothing short of irresponsible, and it’s happening at a time when the Metropolitan Water District has the most water stored in its system in the history of the agency,” Gold said. “It’s not a matter of having enough water coming from Northern California to put out a fire. It’s about the continued devastating impacts of a changing climate.”

The lack of water in the Pacific Palisades hydrants was instead due to a reduction in water pressure caused by increased demand, the LA Times reported. Janisse Quiñones, the chief executive and chief engineer of the Los Angeles Department of Water and Power, told the paper that so much water was being used that the utility wasn’t able to fill the tanks quickly enough. The demand for water at lower elevations was also preventing the utility from refilling tanks at higher elevations, according to the LA Times.

Wednesday night, as powerful Santa Ana winds spread the fires to Altadena, Pasadena, and the Hollywood Hills, right-wing influencers accused city officials of slashing the fire department’s budget and prioritizing diversity programs over sound fire prevention policy — which Musk reposted on X.

But as Politico pointed out, Los Angeles mayor Karen Bass didn’t cut $23 million from the fire department’s budget, a claim that has been repeated by critics on both the right and the left, some of whom said Bass cut fire department funding to pay for a new police contract. The fire department’s budget actually increased by more than $50 million over the previous year, according to Politico, though others have noted that LA fire chief Kristin Crowley criticized Bass’ decision to cut $7 million from the department’s overtime budget just a few weeks before the Palisades fire. “The reduction … has severely limited the department’s capacity to prepare for, train for, and respond to large-scale emergencies, including wildfires,” Crowley wrote in a December 4th memo.

This nuance is, of course, being lost on X, where influencers have also begun posting AI-generated images of looters descending upon the Palisades and the Hollywood sign engulfed in flames. Disinformation is spreading like... you can probably guess what.

Read the whole story
alvinashcraft
5 hours ago
reply
West Grove, PA
Share this story
Delete

How to delete your Facebook account

1 Share
Facebook symbol with background of a variety of icons representing social networking.
Illustration by Samar Haddad / The Verge

You may be wondering how to delete your Facebook account now that fact-checking is no longer considered important, and Meta’s changing its definition of what constitutes Hateful Conduct. It’s easy to do, and we’ll show you how. But, you should download all your stuff first.

The following instructions are for the web version of Facebook, but you can follow pretty much the same sequence on the mobile app.

Download your archives

Your Facebook archives contain just about all of the pertinent information related to your account, including your photos, active sessions, chat history, IP addresses, facial recognition data, and which ads you clicked. That’s personal information you should save.

  • Click on your personal icon in the upper-right corner.
  • Go to Settings & Privacy > Settings.
  • Click on the Accounts Center box on the left.
Screenshot: Meta
The Accounts Center is where you can both download your info and delete your account.
  • Go to Your information and permissions on the left, and then Download Your Information > Download or transfer information.
  • You can choose to transfer information from your Facebook or Instagram account (or both).
  • You now have a...

Read the full story at The Verge.

Read the whole story
alvinashcraft
5 hours ago
reply
West Grove, PA
Share this story
Delete

Mark Zuckerberg gave Meta’s Llama team the OK to train on copyrighted works, filing claims

1 Share

Counsel for plaintiffs in a copyright lawsuit filed against Meta allege that Meta CEO Mark Zuckerberg gave the green light to the team behind the company’s Llama AI models to use a data set of pirated ebooks and articles for training. The case, Kadrey v. Meta, is one of many against tech giants developing AI […]

© 2024 TechCrunch. All rights reserved. For personal use only.

Read the whole story
alvinashcraft
6 hours ago
reply
West Grove, PA
Share this story
Delete
Next Page of Stories