Posts

Showing posts from January, 2026

enable wifi windows 11

Image
Google AI sugestion: Disable USB Power Saving (The Real Root Cause) You need to stop Windows from cutting power to the internal USB hub that feeds the Realtek chip: Right-click the Start button and open Device Manager ( Administrador de dispositivos ). Scroll all the way to the bottom and expand Universal Serial Bus controllers ( Controladoras de bus serie universal ). Double-click USB Root Hub (USB 3.0) (if there are multiple, repeat for each one). Go to the Power Management ( Administración de energía ) tab.        5. Uncheck "Allow the computer to turn off this device to save power": (Tip: Sometimes a major Windows Update will re-check that USB Root Hub box in the future, so keep it in mind if the issue ever comes back months from now). (Optional) Do the exact same thing inside Network adapters > Realtek 8723DU Wireless LAN 802.11n USB... > Properties > Power Management. 30112026      Windows has stopped this device because it has repo...

fixed sintax error near $grades{$student}

SOLUCIÓN Debido al pragma use strict, declarar bien el ámbito de las variables.  Programming Perl 3rd ed. Chapter 1 - En mi caso, uso perlbrew, de modo que ejecuto el script vía perl ./gradation.pl sin darle atributos de ejecución previamente.  Contenido del archivo grades.txt: Noël 25  Ben 76 Clementine 49 Norm 66 Chris 92 Doug 42 Carol 25 Ben 12 Clementine 0 Norm 66 Código del script gradation.pl: #!/usr/bin/env perl    # because perlbrew # perl ./gradation.pl without using chmod u+x gradation.pl use strict;  use warnings; use autodie; use diagnostics; my $line; my $student; my $grade; #my $grades; my %grades; my $scores; my $total; my @grades; my $average; my $grades_fh; my $filename = 'grades.txt'; # open(GRADES,"grades.txt") or die("Cant open grades.txt:$!\n"); # Use a lexical file handle '$grades_fh' instead of 'GRADES' open($grades_fh, '<', $filename) or die "Can't open $filename: $!\n"; while ($line = <$g...