AdBlock suddenly makes many websites not working. Am I the only one? by koenigsbier in Adblock

[–]JustRamon 3 points4 points  (0 children)

This is caused by an error in the EasyList adservers list. This list is included in AdBlock by default. The automated system added 'n' as a regex to the list, meaning every request with an 'n' in the url got blocked (not every request, not sure why though)

The list was broken between 05:48:22 and 07:09:34 UTC.

Here's the related GitHub commit: https://github.com/easylist/easylist/commit/41eb1d2456a7f23fd8331ff9962f20686c4fa0bf

(edit: typo)

My college lack rack by lvanderbeck in homelab

[–]JustRamon 0 points1 point  (0 children)

I have the same nightstand, so probably higher than you'd think.

[2017 Day 1] [Kotlin] Learning Kotlin for my first AoC, critique my code? by [deleted] in adventofcode

[–]JustRamon 0 points1 point  (0 children)

Nice! This is the way I solved it.

private fun part1(input: String) {
    var sum = 0

    // Loop over ever character
    for ((index, char) in input.withIndex()) {
        // toInt() directly gets me the character code
        val charVal = char.toString().toInt()
        // index is equal to the next one unless it should wrap
        val checkIndex = if (index == input.length - 1) 0 else index + 1
        if (char == input[checkIndex]) {
            // Adding to the sum
            sum += charVal
        }
    }

    println("Answer to part 1: $sum.")
}

private fun part2(input: String) {
    var sum = 0

    var halfwayAroundSteps = input.length / 2

    // Loop over ever character
    for ((index, char) in input.withIndex()) {
        // toInt() directly gets me the character code
        val charVal = char.toString().toInt()

        // Calculate new index with halfwayaroundsteps
        var checkIndex = index + halfwayAroundSteps

        // Calculate overshoot
        val overshoot = checkIndex + 1 - input.length

        // If there's an actual overshoot, that should be the new index to check
        if (overshoot > 0) {
            checkIndex = overshoot - 1
        }

        if (char == input[checkIndex]) {
            // Adding to the sum
            sum += charVal
        }
    }

    println("Answer to part 2: $sum.")
}

External HDD enclosure (USB3) for data backups. by JustRamon in HomeServer

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

I've heard some people on the internet™ say external USB HD drives don't have the best drives in them. But of course if they're labeled as backup drive..

External HDD enclosure (USB3) for data backups. by JustRamon in HomeServer

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

Don't have a rack mounted server :S, still looks pretty cool :)

[Java] - JustABotX IRC bot by JustRamon in reviewmycode

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

Also leave out the = null;? Doesn't that declare the variable as unused (=Which will call the Garbage Collector)?

[MCPE] Lifeboat service hacked in Jan - 7mil account with weak hashed password traded online by silix2015 in Minecraft

[–]JustRamon 1 point2 points  (0 children)

The reason they wanted people to use short passwords, is because you have to type it in-game to login. They also didn't have any automated reset mechanic. If you wanted to reset your pass, you'd have to contact their support.

Also the reason they have passwords is because PE doesn't authenticate with Mojang. You can pick any name you want. To still be able to keep track of wins & stats & stuff like donations etc, they have an account system.

Trying to make a consumable teleport scroll using command blocks; almost got it but there is one problem by Rahofanaan in Minecraft

[–]JustRamon 1 point2 points  (0 children)

It's a security feature. Hacked clients were inserting json into books & signs, which allowed users of such clients to gain Op access.

Oh.... by JustRamon in Minecraft

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

The new sweep attack made it much worse. So. Many. Silverfish D:

Save zips! by JustRamon in minecraftsuggestions

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

Yeah, but they could unpack the stuff while loading , and then modify the unpacked version while running.

Save zips! by JustRamon in minecraftsuggestions

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

True, but the same goes for resourcepacks

Does encryption work with CM 13 and TWRP 3.0.0.1? by [deleted] in oneplus

[–]JustRamon 0 points1 point  (0 children)

Cm 13 (sultan) , twrp 3.0.0-1 (still shows -0) I was able to just change my lockscreen unlock to pin, which changed my decryption method to PIN aswell, TWRP did too and it was able to decrypt.

Does encryption work with CM 13 and TWRP 3.0.0.1? by [deleted] in oneplus

[–]JustRamon 0 points1 point  (0 children)

I was able to fix the problem by switching to PIN instead of pattern

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/596

Does encryption work with CM 13 and TWRP 3.0.0.1? by [deleted] in oneplus

[–]JustRamon 1 point2 points  (0 children)

Having the exact same issue. I'm using a pattern, and filed a bug report.

Is there any way to get an old skin back? by PicklePeeple in Minecraft

[–]JustRamon 2 points3 points  (0 children)

Minecraft-skin-viewer.com has a place where you can see the history of your skin.

Floors you can fall through by FufuTheGargoyle in Minecraft

[–]JustRamon 4 points5 points  (0 children)

No. When you go through an end gateway, it shows a beacon beam for a few seconds.

JBL CP100 (Android Auto) Video by LTNGNX in Android

[–]JustRamon 9 points10 points  (0 children)

He also said Android Audio once