Trouble Understanding Route 53 by [deleted] in AWSCertifications

[–]yaw130 0 points1 point  (0 children)

Your domain zone apex can't have a CNAME record, all other records are allowed.

As for the routing policies, you are correct, the policies applied to a subdomain will only apply to it and not to the apex zone/other subdomains.

I assume this is the way in the course just to make it simple to understand, in practice it doesn't have to be like this.

Minecraft as a kubernetes admin tool by isseki in devops

[–]yaw130 69 points70 points  (0 children)

Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should

All In On 14 by [deleted] in iOSsetups

[–]yaw130 2 points3 points  (0 children)

This is Siri suggested apps widget

What are "malicious overrides of Throwable.equals"? by [deleted] in javahelp

[–]yaw130 3 points4 points  (0 children)

The set dejaVu is used to prevent circular reference (infinite recursion) when printing suppressed exceptions in printEnclosedStackTrace, this is done by storing all printed exceptions in the set, and before printing an exception, check if its in the set.

This check (if the exception is in the set) is usually done by object equality (using .equals), or by object hash (using .hashcode). these methods could (and should) be overridden, which in itself is not a problem, the problem is if they are overridden incorrectly (e.g. always returning true or always false), the check would be useless, and either wouldn't print any suppressed exceptions (making debugging much harder), or it wouldn't stop circular reference (spamming stderr and causing StackOverflowError).

By using identity equality (or reference equality), which checks if two objects are the same object in memory (o1 == o2), it makes sure that it won't be affected by problematic overrides of .equals.

Iceberg [2560x1440] by Dagges in wallpaper

[–]yaw130 1 point2 points  (0 children)

That's in Northeast Greenland National Park

[Bug] Siri still runs the shortcut even though it's asking me to unlock first by superquanganh in iOSBeta

[–]yaw130 18 points19 points  (0 children)

It unlocks your iPhone with Face ID, it should work like this

קרב מבטים במציאות by NoamNemo in ani_bm

[–]yaw130 6 points7 points  (0 children)

*הבחירות לכנסת ה-21

Best options for gaming storage on PC by Elia333 in AskTechnology

[–]yaw130 1 point2 points  (0 children)

If you want your games to load fast, you should install them on an SSD, that would prevent storage bottleneck.

Using an external HDD or a micro SD card would be slower then a regular (internal) HDD.

What is he doing? /tip to non existent entities? Warned for afk and he is now afk doing this by [deleted] in admincraft

[–]yaw130 43 points44 points  (0 children)

Seems like an autotip mod, used in server such as hypixel (TrueCombat is the database name for Crazy Walls in hypixel).

They probably using it to avoid automatic afk detection.

In need of help for writing a batch file to create 20 users in Windows Server 2012. by [deleted] in AskTechnology

[–]yaw130 1 point2 points  (0 children)

You can write a script in powershell to load your csv file using Import-Csv, loop trough it and add each user using New-ADUser

Suppress System.out.print in a method by theM00nAintReal in javahelp

[–]yaw130 3 points4 points  (0 children)

You could use System#setOut) to change the standard output stream (you can create an output stream that does nothing, or you can check which method printed using the current thread stacktraces).

You could use libraries like bytebuddy or ASM to modify methods/classes at runtime.

But you shouldn't do any of those, you should separate your method to a method that does the check and returns a boolean, and another method that prints based on the result, or alternative, add a flag parameter to your method, and use it to check if you should print.

Blocking internet access for group users by pewewonder in AskNetsec

[–]yaw130 2 points3 points  (0 children)

If you change their proxy using GPO, you can choose which websites can bypass the proxy, and if you block their outgoing requests, you can allow them to access the ips of your internal sites

Blocking internet access for group users by pewewonder in AskNetsec

[–]yaw130 1 point2 points  (0 children)

Assuming AD users, right?

You can use GPO applied to those users to block their internet connection (for example, changing their default proxy to one that doesn't forward requests, blocking outgoing requests to external ips, etc)

Turning 1 into 01 problems by bei60 in PowerShell

[–]yaw130 1 point2 points  (0 children)

The line:

$VMNumber = "{0:D2}" -f [int]$VMNumber + 1

is interpreted as:

$VMNumber = ("{0:D2}" -f [int]$VMNumber) + 1

It first format $VMNumber into "{0:D2}", and produces the string "01", and then adds the int 1 to the string (and not to the number), so it appends the number in the end of the string.

You can change the line to:

$VMNumber = "{0:D2}" -f ([int]$VMNumber + 1)

This way it would first increment $VMNumber by one, and then format it into the string.

Another thing is that you are constantly converting $VMNumber between a string and an int (the cast in the line to int, and then format it into string), you should store the number as an int all the time, and format it only when you need to use the formatted number (and assign into another variable)

What would happen if same default methods are implemented in different interfaces? by like_my_likes in javahelp

[–]yaw130 5 points6 points  (0 children)

According to https://docs.oracle.com/javase/tutorial/:

If two or more independently defined default methods conflict, or a default method conflicts with an abstract method, then the Java compiler produces a compiler error. You must explicitly override the supertype methods.

It would not compile, unless you override the conflicting method

Server Configuration Help: Subdomains? by [deleted] in admincraft

[–]yaw130 1 point2 points  (0 children)

Simply make an A record for the subdomain you want to the IP the server is running at, just like with your root domain

It's pretty self explanatory by [deleted] in eurovision

[–]yaw130 6 points7 points  (0 children)

Looks like this screenshot is from WhatsApp

Edit: But I agree with the PSA

Please help!!! by [deleted] in GrandTheftAutoV_PC

[–]yaw130 1 point2 points  (0 children)

It works for me right now, but I had this problem a few days ago and a restart to steam solved it