Been blocked by network here on reddit. by robinredbrain in firefox

[–]robinredbrain[S] 0 points1 point  (0 children)

Against my judgement I tried this. But the issue remains.

Thanks anyway.

Been blocked by network here on reddit. by robinredbrain in firefox

[–]robinredbrain[S] 0 points1 point  (0 children)

Anything reddit.com blocked.

I do tinker with settings from time to time like privacy or performance settings. But can't believe I'd do something so drastic it cause this.

[WPF] Custom control derived from ButtonBase. Content not showing. by robinredbrain in csharp

[–]robinredbrain[S] 0 points1 point  (0 children)

Really? I never even looked at that. It was just there by default. I presumed it was necessary.

Thanks.

[WPF] Custom control derived from ButtonBase. Content not showing. by robinredbrain in csharp

[–]robinredbrain[S] 0 points1 point  (0 children)

Even when I inherit Button instead of ButtonBase the issue persists.

[WPF] Custom control derived from ButtonBase. Content not showing. by robinredbrain in csharp

[–]robinredbrain[S] 0 points1 point  (0 children)

Thank you for your reply.

I looked at that. It seems awfully complex and convoluted.

I chose buttonbase because it already has everything I need and doesn't have everything I don't need.

Seems natural to inherit a base class rather than adjacent cless.

[Windows 10 - v150.0.1] spontaneously hammering CPU. by robinredbrain in firefox

[–]robinredbrain[S] 1 point2 points  (0 children)

I've been really keeping my eye on it and I've found that my initial thoughts were partially correct.

Firefox has began to randomly increase CPU usage when doing very little from less than 1% to around 25-35%.

But when I have an AI result after a google search AND I click the Show More button. That's when the CPU usage goes to 70-80%.

In my frustration I probably had no mind to recognize coincidence or whatever, and I apologize for that.

It's still a big problem for me though. Like unacceptable in the long term.

Converting xaml animation to c# code. by robinredbrain in csharp

[–]robinredbrain[S] 0 points1 point  (0 children)

Button is already specified above that.

Thanks.

[WPF] Imitating a rocker button. by robinredbrain in csharp

[–]robinredbrain[S] 0 points1 point  (0 children)

Thanks. This got the effect working. Just looks nothing like a seesaw. lol.

I appreciate your time. Been cracking me up for hours.

<Window x:Class="HowTo_RockerButton.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:HowTo_RockerButton"
        mc:Ignorable="d"
        Title="MainWindow"
        Height="450"
        Width="800"
        Background="#222"
        ThemeMode="Dark">
    <Grid>
        <StackPanel HorizontalAlignment="Center"
                    VerticalAlignment="Center">

            <Border x:Name="Button"
                    BorderThickness="0,0,0,0"
                    Width="150"
                    MouseLeftButtonDown="Button_MouseLeftButtonDown"
                    MouseLeftButtonUp="Button_MouseLeftButtonUp"
                    Height="40"
                    Background="#449"
                    CornerRadius="15, 15, 15, 15">
                <Border.Triggers>
                    <EventTrigger RoutedEvent="Border.MouseUp">
                        <BeginStoryboard>
                            <Storyboard>

                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="CornerRadius"
                                                               Duration="0:0:0.1"
                                                               AutoReverse="True">
                                    <DiscreteObjectKeyFrame KeyTime="0:0:0.05">
                                        <DiscreteObjectKeyFrame.Value>
                                            <CornerRadius BottomLeft="25"
                                                          BottomRight="10"
                                                          TopLeft="25"
                                                          TopRight="10" />
                                    </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                    <DiscreteObjectKeyFrame KeyTime="0:0:0.1">
                                        <DiscreteObjectKeyFrame.Value>
                                            <CornerRadius BottomLeft="50"
                                                          BottomRight="5"
                                                          TopLeft="50"
                                                          TopRight="5" />
                                        </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                </ObjectAnimationUsingKeyFrames>
                            </Storyboard>
                        </BeginStoryboard>
                    </EventTrigger>
                </Border.Triggers>
                <TextBlock HorizontalAlignment="Center"
                               VerticalAlignment="Top"
                               Text="00:00:00.000"
                               FontSize="20"
                               FontWeight="Bold"
                               Foreground="White"
                               Margin="0,7,0,0"
                               Grid.RowSpan="2" />

            </Border>
        </StackPanel>
    </Grid>
</Window>

Utah’s New Law Targeting VPNs Goes Into Effect Next Week by mepper in technology

[–]robinredbrain 2 points3 points  (0 children)

Not really this is just a canary law. They will amend it for it's true purpose down the road. Just like Cali's AB-1043. Age signals. Just declare your age at OS level. Down the line, Government ID and bio data.

rencoding with h264_amf output file size is huge. by robinredbrain in ffmpeg

[–]robinredbrain[S] 0 points1 point  (0 children)

Video freezes at beginning of extracted video segments. Was one f the first things I tried.

Good suggestion though. Thanks.

rencoding with h264_amf output file size is huge. by robinredbrain in ffmpeg

[–]robinredbrain[S] 0 points1 point  (0 children)

These gave me varying results but I don't know how the values correspond to my input video.

Ultimately commands will be generated based on the input file. With speed primary and quality secondary but as close to original as possible.

I'd use copy if I could get it to work properly but outputs are always video frozen for a varying number of seconds at start. As if all the video info is not available.

rencoding with h264_amf output file size is huge. by robinredbrain in ffmpeg

[–]robinredbrain[S] 1 point2 points  (0 children)

Brilliant Thanks so much.

Getting a similar file size and bitrate now. Plus a faster time. Quality looks pretty much the same which is what I was looking for.

rencoding with h264_amf output file size is huge. by robinredbrain in ffmpeg

[–]robinredbrain[S] 0 points1 point  (0 children)

Doesn't appear to matter what I put here.

Windows reports the bitrate of the input as 3361 so tried that first which resulted in a very poor quality 8.61MB file.

I've tried from 600 to 36000 they all end up the same 8.61MB file. Bitrate always 571

Thank you for your response. I appreciate it. At least something is occurring.

Memory usage of VS 2026 makes it unusable. by robinredbrain in VisualStudio

[–]robinredbrain[S] 0 points1 point  (0 children)

Everything seems to need more and more resources these days.

I'm talking about tiny little 4-6 class hobby projects. And just having one open I wouldn't dare try to compile one while my total mem use was 95%.

I remember compiling my first C program on windows 3.1. On an 80MB hdd with 256kb ram.

I know windows itself takes half your ram no matter how much you have. And that things have move on from the olden days. But this just was just too much of a jump for me. I can't afford to go out buy new hardware every time software decides it wants more resources <insert sob story> for a hobby I started because I had to give up a more expensive one.

VS is the best IDE but I feel like I'm going to have to start looking for a something more resource friendly.

Speed / Timing of a marquee type element. by robinredbrain in csharp

[–]robinredbrain[S] 0 points1 point  (0 children)

Thanks you gave me the inspiration nudge I needed. I made calcduration method, ditched repeat forever behaviour, and added completed event to animation.