When can I expect Italian regional train tickets to be available for purchase?

I need to travel from Lecco to Rome by train, in July. I am used to buying a single journey on a single ticket, since I believe that I will get more assistance if I bought the journey that way and the first train was late – compared to what I would get if I travelled with two separate tickets.

The problem is that timetables or prices for Lecco-Milan are not yet available, but tickets for the Milan-Rome leg are being sold and prices may rise based on demand. I know I can buy Lecco-Milan from the station for a fair price, but I am concerned about the transfer if I had two tickets.

When can I expect the regional tickets to be available in Trenitalia’s website? Should I simply book Milan-Rome separately from Trenitalia or even from Italo to avoid paying too much? Is doing a single purchase a less risky strategy, anyway?

Add element after navigation element title don’t works like I expect

I’m currently trying to add an empty <span> after every item title in my navigation which has childs. So only dropdown elements. Sadly also some of my non-dropdown items getting a <span> inserted after the title. This is so strange. What I’m doing wrong?

 add_filter( 'nav_menu_item_args', 'nav_menu_modify_dropdown', 10, 3 );     function nav_menu_add_dropdown( $  args, $  item, $  depth ) {         error_log( print_r( $  item, true ) );         if ( $  args->theme_location === 'primary-menu' && in_array( 'menu-item-has-children', $  item->classes, true ) ) {             $  args->link_after = '<span></span>';         }          return $  args;     } 

What information about a monster can a PC expect to know (be told really) if this is the 1st ever encounter with this type of monster? [duplicate]

This question already has an answer here:

  • How much do I tell new players about new monsters? 7 answers

As an example, I’m considering vulnerabilities, resistances and immunities. If a pc is unfamiliar with a monster and asks for this information, is it reasonable to provide this.
Another way to ask this maybe is: Is there information that is typically not provided on a 1st ever encounter?

How many requests per second I should expect in 2 CPU and 4 GB RAM VPS?

I have a simple Java web app (Spring Boot) that does some cookie processing and generates simple home page that loads bunch of icons and one 70k bytes jpeg image and a single minified js and a css file. Nginx is configured to serve all static resources while java app only serve home page html. Despite this optimzation I am only getting about 15 to 20 requests per seconds (using ab / siege commands) before performance start degrading. I was expecting around 100 requests per seconds. Using normal browser page loads fast within 2 seconds but load testing gives poor results.

Java app is Spring MVC app running in embedded tomcat 8 under Java 8.

Has any one achieved much higher performance with similar situation as mine?

I am using Linode dedicated CPU server.

expect, mpd5 and dynamic config loading

I have a FreeBSD server that’s connected to WAN using PPPoE. Iva esuccessfully set ip the L2TP and PPTP VPN ontop of this PPPoE WAN connection. The problem is that L2TP needs to call ‘set lt2p self ` clause to start listening to the udp/1701 port, so when the WAN PPPoE session is reestablished, I need to dynamically set up the L2TP config part. I’m using an expect script to do this, it connects to the mpd5 network console and loads the config part, and does it like this:

set timeout 2 spawn telnet localhost 5005  expect -re "Username: " {     send myc00ll0g1n\r     exp_continue -continue_timer } expect -re "Password: " {     send myc00lpa$  $  \r     exp_continue -continue_timer }  # destroying the knob send "destroy link l2tplink\r" expect ".+" send "destroy bundle l2tpbundle\r" expect ".+"  # loading the full knob: send "create bundle template l2tpbundle\r" expect ".+" send "set iface idle 1800\r" expect ".+" send "set iface enable tcpmssfix\r" expect ".+" send "set iface group vpn\r" expect ".+" expect ".+" send "set ipcp yes vjcomp\r" expect ".+" send "set ipcp ranges 192.168.58.1/32 ippool vpn-pool\r" expect ".+" send "set ipcp dns 192.168.57.254\r" expect ".+" send "set bundle enable compression\r" expect ".+" send "create link template l2tplink l2tp\r" expect ".+" send "set link action bundle l2tpbundle\r" expect ".+" send "set link enable multilink\r" expect ".+" send "set link yes acfcomp protocomp\r" expect ".+" send "set link no pap chap eap chap-md5 chap-msv1 chap-msv2\r" expect ".+" send "set link enable chap\r" expect ".+" send "set link enable pap\r" expect ".+" send "set link enable chap-md5\r" expect ".+" send "set link enable chap-msv1\r" expect ".+" send "set link enable chap-msv2\r" expect ".+" send "set link enable eap\r" expect ".+" send "set eap no md5 radius-proxy\r" expect ".+" send "set eap enable eap\r" expect ".+" send "set eap enable radius-proxy\r" expect ".+" send "set link keep-alive 10 60\r" expect ".+" send "set link mtu 1360\r" expect ".+" send "set link enable incoming\r" expect ".+" send "set l2tp self 384.656.768.272\r" expect ".+" send "set link max-children 50\r" expect ".+" send "set radius server 127.0.0.1 myc00lradiuspa$  $  \r" expect ".+" send "set radius retries 3\r" expect ".+" send "set radius timeout 3\r" expect ".+" send "set radius me 127.0.0.1\r" expect ".+" send "set auth acct-update 300\r" expect ".+" send "set auth enable radius-auth\r" expect ".+" 

It’s fully working when I invoke it interactively via ssh. So I added it into the ‘set iface up-script and the expect wrapper is calling it likeexpect -f myscript.exp`. But when it does that on PPPoE connection reestablishing, I receive the following bunch of errors in the mpd.log:

Mar 21 17:42:23 ronin mpd[37412]: [wan] IFACE: Up event Mar 21 17:42:23 ronin mpd[37412]: CONSOLE: Connect Mar 21 17:42:23 ronin mpd[37412]: CONSOLE: Allocated new console session 0x802000010 from 127.0.0.1 Mar 21 17:42:23 ronin mpd[37412]: CONSOLE: Failed login attempt from 127.0.0.1 Mar 21 17:42:23 ronin syslogd: last message repeated 34 times Mar 21 17:42:23 ronin mpd[37412]: CONSOLE: Error while reading: Connection reset by peer 

And this is definitely my expect script (because it does send right about 34 lines of commands). Why ? Why does it work when I invoke it by hand and when mpd5 invokes it – it does not ? Okay, I understand that when I invoke it it has a controlling terminal, and when mpd5 invokes it it does not, but does it matter ? How do I solve this ? Or is the root of the problem something else ?

Do we have to expect a queue for the shuttle from Watford Junction to Harry Potter Studio?

We have tickets for the Warner Bros. Harry Potter Studio for 10 AM on a Thursday.

I’ve read that shuttles leave every 20 minutes from Watford Junction but I can’t find any official info or reviews about how well-used this service is. Can we expect to get the first shuttle upon our arrival to Watford Junction or should we calculate some extra time to queue for one?

What should i expect after editing lockscreen appearances. emediate changes or..?

I recently switched from windows to ubuntu, and as a web developer i am pretty familiar with the ubuntu gnome-shell css. i tried modifying first by running file explorer as an admin. I made the changes but nothing takes effect even after rebooting, when i check the edited source code, the changes are saved but no results. is there some kind of thing to do that validates the edited version or i went wrong somewhere? I just prefer my user login image rounded rather than with 3px radius. Help pls.