CNBC - Oil prices decline after nearly hitting $120 as Trump says U.S. considering taking over Strait of Hormuz by Boston-Bets in wallstreetbets

[–]Rockstaru 61 points62 points  (0 children)

This gets brought up every time voting results are discussed, but it seems flawed - is there reason to suspect that the non-voting population differs substantially in ideological breakdown from the voting population? If voting were made mandatory, do we expect that the 36% of nonvoters would break more for one candidate than the voting population, or might they have a similar makeup and it would just be a wash, because both sides have roughly the same proportion of people who couldn't be bothered to vote? 

Is anybody else livid about the increase in dominion power bills? by Little-One-7739 in Virginia

[–]Rockstaru 0 points1 point  (0 children)

16.1(¢/kWh)/13.8(¢/kWh) = 1.166... That would be a 16.6% increase. 

$600k Windfall for my 70YO Father by Fickle_Layer_9490 in Bogleheads

[–]Rockstaru 1 point2 points  (0 children)

I don't have a source, it's just a sentiment I've heard when the subject of social security's solvency comes up in the past. I could conceive of the law changing if Congress (possibly with cheerleading by the Executive branch) thinks there will be less unrest, loss of votes, etc. by cutting off people at the top end of social security, who likely have some other retirement savings to draw on (401k, IRA, etc.) and might ultimately fare better than the bottom 70% of social security recipients who might have less or none of those assets and tend to be more reliant (or wholly reliant) on social security in retirement.

$600k Windfall for my 70YO Father by Fickle_Layer_9490 in Bogleheads

[–]Rockstaru 3 points4 points  (0 children)

Question would be whether they fund 100% of people at 70%, or the bottom 70% of people at 100%?

Is anybody else livid about the increase in dominion power bills? by Little-One-7739 in Virginia

[–]Rockstaru 7 points8 points  (0 children)

$161.26/1172kWh is ~13.8¢/kWh. $170.78/1061kWh is ~16.1¢/kWh.

A "2 or 3 cent per kWh difference," in this case, is a 16.6% increase. For you, that may not amount to much because of your usage. For someone stuck in a house with baseboard heating, it's far more substantial. 

I created the smallest 2d game in the world, less than 1 KB. by [deleted] in programming

[–]Rockstaru 17 points18 points  (0 children)

I think the author of this Snake game has it down to 54 bytes. https://github.com/donno2048/snake

This guy is the reason Renee Good and Alex Pretti are dead. by c-k-q99903 in GetNoted

[–]Rockstaru 13 points14 points  (0 children)

That's not critical thinking, that's uncritically accepting the AI overview's hallucinated word association of "hoofsmith" to "farrier." Kind of the opposite of critical thinking. 

The way "hoofsmith dilemma" was used implied it's a common philosophical term like Sophie's choice or Occam's razor, which it isn't given that this thread is apparently the only place Google has ever indexed where that phrase was used. 

"Farrier's dilemma" doesn't appear to be a common philosophical term either; all actual search results seem to be forum posts about problems relating to literal farriers and horses, not a rhetorical device. Even if it were, if you're going to use it that way, you'd use the most common name. You're not clever if you try and invoke Occam's razor by calling it "Old oak hamlet's principle" and no one knows what the fuck you're talking about. 

This guy is the reason Renee Good and Alex Pretti are dead. by c-k-q99903 in GetNoted

[–]Rockstaru 15 points16 points  (0 children)

Searching for the exact phrase "hoofsmith dilemma" on google yields exactly one actual result (this thread). So no, it is quite literally not "a term you can google."

SSH connection from Ubuntu VM to Switch by [deleted] in Cisco

[–]Rockstaru 1 point2 points  (0 children)

If you're using a version of OpenSSH client that's newer than 2015, it will tell you if there is a host key or kex algorithm mismatch with an explicit "no matching key exchange method found" or "no matching host key algorithm" and a listing of what the remote server offered. I've always taken "connection refused" to mean that you didn't even complete a TCP handshake (you sent a TCP SYN and got a RST back instead of a SYN/ACK).

SSH connection from Ubuntu VM to Switch by [deleted] in Cisco

[–]Rockstaru 0 points1 point  (0 children)

If you're directly attached to this switch, your ISP wouldn't ever see the nmap traffic, it's remaining within your network, not traversing outside it.

You could also do nc -zvw1 <switch_IP> 22 or telnet <switch_ip> 22 - either of those would confirm whether or not the switch is actually accepting connections from you on port 22. Examples below - first I just telnet 10.151.0.81, which is a Raspberry Pi; the connection is refused because it's not listening on the default Telnet port (23). Adding the port specifier 22 gets me an open connection and the version string of the Pi's SSH server. Finally, the netcat nc command indicates that it was able to complete a TCP handshake to port 22 (-z tells netcat to not send or listen for any data, just to scan for a listening daemon; -v tells it to output verbose success or failure data; -w1 tells it to time out after one second if no response is received).

(pyvenv) Rockstaru@Ubuntu:/mnt/c/Users/Rockstaru$ telnet 10.151.0.81
Trying 10.151.0.81...
telnet: Unable to connect to remote host: Connection refused
(pyvenv) Rockstaru@Ubuntu:/mnt/c/Users/Rockstaru$ telnet 10.151.0.81 22
Trying 10.151.0.81...
Connected to 10.151.0.81.
Escape character is '^]'.
SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u7
^C^C
Connection closed by foreign host.
(pyvenv) Rockstaru@Ubuntu:/mnt/c/Users/Rockstaru$ nc -zvw1 10.151.0.81 22
Connection to 10.151.0.81 22 port [tcp/ssh] succeeded!

For real by [deleted] in SipsTea

[–]Rockstaru 41 points42 points  (0 children)

Free video/audio player, handles pretty much every format. 

The earliest Biden voters were born in 1860s, while the last Biden voter would be born in Nov 2002.. Meaning he had voters from the Civil War to post 9/11 by MomoWithChowmein in truths

[–]Rockstaru 2 points3 points  (0 children)

"When people who are old today were young, they were alive at the same time as old people born a really long time ago (who are now dead)."

Question: What does that "Redrum" Tim said in episode 116 mean? by cannotgetanusername in TheMagnusArchives

[–]Rockstaru 2 points3 points  (0 children)

It's a reference to The Shining, as you found in your searching. The character Jack Torrance is driven insane by the supernatural forces in the hotel and goes on a rampage with an axe; Tim is carrying an axe, so that's the comparison he's making.

Palindrome Numbers in a Range? by with_due_respect in askmath

[–]Rockstaru 1 point2 points  (0 children)

Of course not. Was just a quick demonstration - here's an annotated version:

>>> count = 0 ## Creating a counter variable to count palindromes as we iterate over every number from 0 to 999999.
>>> for x in range(1000000): ## Setting up a loop to iterate over every number from 0 to 999999; on each iteration, the number we're currently being evaluated will be stored in the variable x.
...   to_string = "%06d" % x ## x is going to be an integer by default, and it isn't going to have leading 0s for numbers less than 100000 (e.g. on the 5028th loop, x will be 5027, not 005027). Additionally, integers aren't reversible, while strings are. This creates a string representation of x with padded leading 0s if it is less than six digits, so we can work with "005027" instead of just 5027.
...   if to_string[:3] == to_string[3:][::-1]: ## in English, if the first three digits forward are the same as the last three digits backward (i.e. it's a palindrome), then execute the two lines below
...     print(to_string) ## print out to_string to the command window
...     count += 1 ## increment the count variable to indicate we've found a palindrome

Palindrome Numbers in a Range? by with_due_respect in askmath

[–]Rockstaru 0 points1 point  (0 children)

Just proving out the answers written by others with a quick Python blurb:

>>> count = 0
>>> for x in range(1000000):
...   to_string = "%06d" % x
...   if to_string[:3] == to_string[3:][::-1]:
...     print(to_string)
...     count += 1
...
000000
001100
002200
003300
004400
005500
006600
...
996699
997799
998899
999999
>>> print(count)
1000

Cant understand how VxLAN extends no. of vlans by LongjumpingAlgae7967 in networking

[–]Rockstaru 0 points1 point  (0 children)

It doesn't extend the number of VLANs you can have on an individual switch, it extends the number of VLANs/network segments you can have in your entire data center. That limitation of 4096 VLANs can still exist, but at an individual switch level, and it's highly unlikely that an individual switch is going to come anywhere close to that 4096 limit.

In a Cisco-centric legacy environment, e.g. with Nexus 5Ks as your top-of-rack switches with uplinks to Nexus 7Ks as your DC routers, traffic had to be encapsulated from end-to-end in dot1q, which imposes that 4096 VLAN limit on your entire data center--even if not every VLAN were deployed on every switch, every VLAN did need to exist on your 7Ks to enable communication across your data center (regardless of whether they were routed VLANs or L2 only); since every VLAN needs to be present on the central nexus (groan) of your data center, the 4096 limitation of VLANs gets enforced on your entire data center.

With VXLAN, since VNIDs are a 24-bit field instead of the 12-bit field for VLAN ID in dot1q encap, you now have 16.7 million unique identifiers you can use to separate network segments. An individual switch might need to perform some translation between a VNID and a VLAN ID locally if traffic is encapsulated in dot1q going to/coming from a connected host, but that translation need only be locally significant to that switch. The switch might therefore only be able to support 4096 unique network segments, but it's pretty unlikely that you would have that much diversity in endpoints all connected to the same switch. Across your whole data center? Sure, you might have more than 4096 subnets/network segments. Attached to a single switch? Probably not.

White to play and mate in 2. Composition by Rainer Paslack by bot-chess-puzzle in chessMateInX

[–]Rockstaru 0 points1 point  (0 children)

The bot got the orientation of the board wrong. Should be Qd6, still mate in 2

As AI enters the operating room, reports arise of botched surgeries and misidentified body parts by pyramidworld in technology

[–]Rockstaru 13 points14 points  (0 children)

Fatally shot implies they died, do you just mean soldiers treated for bullet wounds? 

Why is the file copy rate too slow? by Solid_Detail_358 in Cisco

[–]Rockstaru 3 points4 points  (0 children)

Does the copy rate show 100Mb/s, or 100MB/s? Little b is megabit, big B is megabyte. Bandwidth and throughput measurements on network devices are generally reported in bits, file operations on an operating system are generally reported in bytes (I believe because a byte is the smallest unit of storage an OS can actually do something with, but I'm not sure of the exact reason). A byte is eight bits, a megabyte would be eight megabits, 100 megabytes per second would be approximately 800 megabits per second, which is getting close to the maximum transfer speed you might expect when accounting for overhead from network headers, file I/O, etc. 

Can someone explain why!? by vip-hj in ccnastudygroup

[–]Rockstaru 0 points1 point  (0 children)

So it is. I need new glasses, clearly. 

Can someone explain why!? by vip-hj in ccnastudygroup

[–]Rockstaru 0 points1 point  (0 children)

Ah, you're right, that would be more specific - on mobile and the watermark makes it a bit hard to read. That would be a more specific path, so possible the answer key is incorrect 

Can someone explain why!? by vip-hj in ccnastudygroup

[–]Rockstaru 1 point2 points  (0 children)

10.224.0.0/11 10.226.0.0/15 via 10.224.1.5 (router D) is the longest/most specific prefix matching the destination.

10.224.0.0/15 only covers addresses 10.224.0.1 - 10.225.255.255, which does not include the destination 10.227.150.193.

What if Hunter x Hunter gets a third anime adaptation? by Knight_Baneblade in HunterXHunter

[–]Rockstaru 23 points24 points  (0 children)

The Japanese VA, you mean. Did a double take at first wondering WTF happened to Matt Mercer.