itisMAKA

u/itisMAKA


r/regex•

Hello everyone, I've got an Android application I'm developing and I need to restrict the user from entering certain symbols but allow others. Ones I'm allowing are

 [ .:,/_-]

What I did:

binding.address = s?.replace("[^A-Za-z0-9 .:,/_-]".toRegex(), "")
                    ?.replace("\\s+".toRegex(), " ")
                    ?.replace("\\.{2,}".toRegex(), ".")
                    ?.replace(":{2,}".toRegex(), ":")
                    ?.replace(",{2,}".toRegex(), ",")
                    ?.replace("_{2,}".toRegex(), "_")
                    ?.replace("-{2,}".toRegex(), "-")
                    ?.replace("/{2,}".toRegex(), "/")

As you can see it looks lik

29

r/FPGA•

So I had bought this Basys 3 board when I was in college around 2016-17 for lab assignments and haven't used since. Just learned that it's still in high demand and gotten much more expensive so I want to sell it to some student but I want to make sure it is working properly.

I've watched an introduction video about Basys 3 on Youtube. When they hooked it up to the computer the 7-segment display kept displaying numbers and they could turn the leds on and off with the switches on the bottom.

Mine doesn't do that. I can see that it's getting power but I couldn't get neither the leds nor the 7-segment display show any sign of life. I guess I might have left a program on it (not sure how this w

310

r/shadowofmordor•

So I'm at the point where I have to have 5 branded warchiefs. For the final warchief I've decided to give a shot to "Riot" option and had one of my warchiefs start a riot. Whenever I start the mission loading would take almost a minute where it usually takes a few seconds with other missions and when it finally loads up I can move neither the camera nor Talion. The HUD is missing and none of the keys work though I can still hear Uruks bellow. Left it for quite a while and nothing changed. Since I can't take him down I can't progress.

https://reddit.com/link/nyfq8n/video/ygqctr2z3w471/player

I reckon, since he's now related to a mission the game won't let me assign any of the branded captai

21

r/Calibre•

Or edit the series metadata or whatever the number field corresponds to for Kobo devices without using Calibre? 1Q84: Books 1 and 2 have their series info as 1Q84 but they have no number, though book 3 has both. Similarly, some The Witcher books are listed without their numbers but they belong to The Witcher series. I want to recreate the same thing but Calibre won't let me leave the number field empty.

34

r/kobo•

Do any of you have any idea what these black things are? As far as I know they appeared one day randomly. They're hard to see unless you look at the screen from a weird angle.

I've never dropped it to damage the screen or anything. But my device, a Clara HD version, stops responding time to time until I hard reset though I don't know if these two problems are connected or not.

​

https://preview.redd.it/j8txl88brjv31.jpg?width=960&format=pjpg&auto=webp&s=88365963c8968c0a49174387a3d2ab6c9d7d64e2

02

r/ChildrenofMorta•

I'm at The Ziggurat, halfway through Barahut and I'm getting hella frustrated. I managed to beat City of Thieves using Kevin without any Divine Charms or Divine Graces but with only the buff totem. It did seem weird since I used to stack at least 4-5 Divine Graces and 1 or 2 Divine Charms before fighting bosses in the earlier levels but I thought it's RNG after all and I didn't want to run the same levels for the sake of experiment.

Anyways, I think there's something wrong with the spawn rate of those things. Even those special blue chests seem to get scarce later on. In one of the multiple runs I've did, before dying at the 3rd floor of The Ziggurat, I stumbled upon only one of those chest

23

You've reached the end of this feed.