Could SER get a way to buffer the choices in the Category pull-down menus on target sites?

…because I’d like to translate them and learn the phrases that constitute the various categories in different languages.
If there was a way to save the choices, just so I can enter them into G! translate and make a cheat sheet I print out or have in a file so I can learn them, that would be very useful.
Hope all you guys and girls are having a fun weekend.  :)

Redirecting Pages That No Longer Exist — But Could in the Future

I have several 404 errors with a URL such as: myWebsite/tag/foo/page/4/. Page no longer exists because a few posts were deleted tagged as “foo.” Which is better: 301 redirect that to myWebsite/tag/foo/page/1/? Or just 410 delete them?

I’m thinking if I do a 301 redirect — then add more posts tagged as “foo,” a 4th page will exist but those will be redirected back to page 1. Or if I 410 delete page 4 and it later exists in the future, it won’t be found. I’m confused.

CURL intermittly answers “Could not resolve host”

I randomly looses internet access on my Debian server.

When I run curl google.com, 90% of the time it answers instantly. 10% of the time it takes ~30 seconds to answer “Could not resolve host”. It happens approximatively one time every other minute.

I have two main network interfaces:

  • enp0s3 which is my default interface. It is bridged to my host machine (server is inside a VM). Its local IP address is fixed to 192.168.0.15.
  • tun0 which is an OpenVPN tunneled interface. I only use it for some specific applications. Its local IP address is in the 10.8.xx.xx range.

I run several server applications that need to be publicly accessible through enp0s3 and some other that need to be publicly accessible through tun0.

What I noticed so far:

  • One of my applications is PMS (Plex). Whenever I stop it, things go back to normal.
  • When PMS tries (by itself) to find a publicly available route, it finds my private IP address as being 192.168.0.1. Which is my tun0‘s local loopback IP. It should find 192.168.0.15, which is my enp0s3 bridged interface’s IP.

Here is the output of ifconfig on my machine:

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500     inet 192.168.0.15  netmask 255.255.255.0  broadcast 192.168.0.255     inet6 fe80::a00:27ff:fe3a:ec14  prefixlen 64  scopeid 0x20<link>     ether 08:00:27:3a:ec:14  txqueuelen 1000  (Ethernet)     RX packets 249315  bytes 35753507 (34.0 MiB)     RX errors 0  dropped 0  overruns 0  frame 0     TX packets 361526  bytes 304896637 (290.7 MiB)     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536     inet 127.0.0.1  netmask 255.0.0.0     inet6 ::1  prefixlen 128  scopeid 0x10<host>     loop  txqueuelen 1  (Local Loopback)     RX packets 136520  bytes 74775157 (71.3 MiB)     RX errors 0  dropped 0  overruns 0  frame 0     TX packets 136520  bytes 74775157 (71.3 MiB)     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo:1: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536     inet 192.168.0.1  netmask 255.255.255.255     loop  txqueuelen 1  (Local Loopback)  tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500     inet 10.8.4.4  netmask 255.255.255.0  destination 10.8.4.4     inet6 fe80::ca1a:c66a:dead:c393  prefixlen 64  scopeid 0x20<link>     unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100   (UNSPEC)     RX packets 154049  bytes 8981378 (8.5 MiB)     RX errors 0  dropped 0  overruns 0  frame 0     TX packets 243944  bytes 217433197 (207.3 MiB)     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

Here is the output of ip rule show on my machine:

0:      from all lookup local  32765:  from 192.168.0.1 lookup VPN  32766:  from all lookup main  32767:  from all lookup default 

Here is the output of ip route show on my machine:

default via 192.168.0.1 dev enp0s3  10.8.8.0/24 dev tun0 proto kernel scope link src 10.8.8.58  192.168.0.0/24 dev enp0s3 proto kernel scope link src 192.168.0.15 

Some other informations:

  • My modem/router’s default broadcast IP is 192.168.0.1
  • Interface lo:1 is a local loopback used to “jail” some applications on tun0‘s network and avoid them to go through enp0s3.

To put you in context, here is my iptables -S output (the jailed service is bind to port 51413):

-P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N SERVICES -A INPUT -i tun0 -m state --state RELATED,ESTABLISHED -j ACCEPT -A FORWARD -s 192.168.0.1/32 -o enp0s3 -j DROP -A SERVICES -p tcp -m tcp --dport 51413 -j ACCEPT -A SERVICES -p udp -m udp --dport 51413 -j ACCEPT 

What do you think?

I suspect Plex from spamming the network in order to find a publicly available route and putting down the network altogether when not managing to do so. In my own specific configuration.. I found no support about this. I’m sure my server configuration is wrong somewhere but I couldn’t find the catch. I’m no expert at all.

How could I design a homebrew god and holy symbol? [on hold]

One of my players is playing a Blood Hunter from the D&D beyond site. He wants to have his character be the Ghost Hunter based subclass and have his backstory be that he grew up in a ghost hunting family/group Who all worshiped or looked to one or two gods. I’m just drawing a blank on designing such a god and associated holy symbol. What could a holy symbol be like for that kind of thing?

Which word could I use for the pumping lemma?

I have a problem to start my proof because I do not find a word $ w$ where I can use the pumping lemma.

Task:

Be $ \sum { =\left\{ a,b,c \right\} } $ and $ S=\left\{ bx{ c }^{ m }|x\in { \left\{ a,b \right\} }^{ * }\wedge m\in N\wedge { |bx| }_{ a }-{ |bx| }_{ b }>m \right\} $

Proof with the the pumping lemma, that S is no regular language.

What I know is, that the word has to start we one $ b$ following from n times $ a$ or $ b$ but $ w$ needs to have one more $ a$ than $ b$ in it and $ w$ also needs to have one more $ b$ than $ c$ in it to fulfill the condition. So it has to be something like this $ W=b{a}^{2m+2}b^mc^m$ ? This language is very difficult for me, hope you see more than I.

P.S. Please no complete solutions of the full task.

Could someone have installed a ROM virus on my Xperia XA?

I posted this question over at XDA forum but I hope someone here may be able to help.

I recently went on vacation and left my Xperia XA F3111 at home. Someone had access to it for over 2 weeks and installed some spyware on it.

When I found out I factory reset the phone but I am worried he may have flashed the phone with a malware-infested ROM which will survive a reset. He had access to the phone for a long time and I am sure he knows someone who knows how to hack phones.

My phone settings say “Bootloader unlock allowed = No” which I believe (rightly or wrongly) means he could not root the phone or install a custom ROM?

Anyway, I am hoping someone can tell me if there was any way he could have bypassed this setting, unlocked the bootloader, flashed an infested ROM and re-locked the bootloader?

If this is possible, is there a guide that would help me do the same thing and re-flash the phone with a clean stock Sony ROM?

It’s a nice phone, but at the moment I can’t take the risk that it has been poisoned so it may well be heading for the recycle bin.

terraform could not escape single quote

I am trying to escape a single quote in my string:

$  {join("\n",formatlist("%s ansible_host=%s ansible_ssh_common_args='-o ProxyCommand=\"ssh -W %%h:%%p -q cloud-user@%s\"'","$  {module.compute.ops_master_names}","$  {module.compute.ops_master_priv_ips}","$  {module.ips.bastion_fips[0]}"))}" 

I have tried with different combinations (\’ or \’ or ” or ‘ ), but I received an illegal char escape or it doesn’t print the single quote. my need is print the line

ansible_ssh_common_args='-o ProxyCommand="ssh -W %h:%p -q cloud-user@%s"' 

the double quote and percentage character are well interpreted