physical – How to encourage people to move to the back of the bus?

Remove seats in the front area

The area between the doors is often occupied by people standing, while the seats in the back are empty.

Obviously, people gain more from standing there than from sitting in the back. If this is a city bus, with short distances between stops, people might value ease of getting off the bus above sitting. When transitioning from a walking / standing position to a sitting one, you often must rearrange your luggage, like a backpack. If you’re only on for a few stops, you may not want to bother.
Also, in the area between the doors, people have access to two doors, which enables them to pick the other if one is blocked or out of reach.

By removing the seats on the left, the right, or even on both sides in the area between the doors, you create more room for people to stand, increasing the capacity of the bus, and making it clear that you can sit in the rear, or stand in the front.
This separates two different groups of passengers: those only on for a couple of stops, and those on for a longer ride.

It would be best to have a couple of seats directly behind the driver, designated for people having difficulty walking. You don’t want them to have to make their way to the back of the bus.

computer architecture – Calculating bandwidth of a bus

I am working through Saylor Academy’s computer architecture course. I can’t understand this type of problem:

Consider a 32-bit synchronous bus with f = 125 Mhz, an 8 nsec clock cycle (CK), send address/data takes 1CK each, 2CKs between bus operations, a memory access time of 200 nsec, bus transfer and reading next data overlap, block size 8 words. What is the bandwidth for 256 4-byte words to be transferred across the bus?

The given solution:

The BW calculation is as follows: 256/8 blocks gives 32 total transactions. Each memory access takes 200/8 = 25 clock cycles. Send data/address + idle time is 8 clock cycles for a total of 34 clock cycles including 1 clock cycle for the initial memory read. 32 transactions times 34 clock cycles times 8 ns = 8704 ns total. 256 times 4 bytes/8704 = 117.6 Mhz.

The only part I could not understand is this:

Send data/address + idle time is 8 clock cycles

I expect that it would be 1 cycle for send data, 1 cycle for send address and 2 cycles idle time, for a total of 4 cycles. I also don’t understand why one cycle is required for the initial read. It is also mentioned that bus transfer and reading next data overlap – how does this affect the calculations?

safety – Is traveling by bus during the Halloween night a good idea?

Generally, when travelling on days of major celebrations, it is hard to estimate the level of celebrations that may take place in transit hubs such as bus stations or airports. Halloween, while it is celebrated in much of Uruguay and Argentina similarly to the United States, is still not considered a major holiday, which reduces the possibility of any forms of major disruptions due to Halloween. Of course, this also depends on whether there are individuals present in your bus or in the bus stations you will be celebrating the “Halloween” Spirit.

I have travelled previously on Halloween and Christmas in the United States and United Kingdom by air, on various New Year’s Eves/Days in a bunch of different countries also by air, and on Diwali in India by air and train and have not noticed any celebrations that are officially sanctioned, other than decorations (and carol singing on Christmas). Only on one occasion was I accosted by a drunk tourist in an airport lounge in Georgia on Orthodox New Year (14 January) and, even then, I was asked whether I wanted to try a local alcoholic beverage.

In most cases, since the number of people actually travelling on the day of the major holiday is less (as most people decide to travel in the period immediately before or after the holiday), I have noticed that airports and train stations are surprisingly quiet and processes such as security and immigration move faster.

In short, it is extremely hard to predict the extent of travel disruptions during holidays, especially those that are minor holidays in a region. The chances of these disruptions can greatly vary based on whether the individuals immediately around you are celebrating the holiday or not.

buses – Greyhound bus ticket (print at home)

If it’s a suitcase, they may ask to check in (which goes in the check in bin in the belly of the bus). If it’s a back pack or something similar, you can carry it with you. As far as the ticket goes, you can print it from your home, print it out from a kiosk at the bus stand or use your smartphone to scan the e ticket and avoid any printing altogether.

buses – From Colombia to Ecuador by bus

This is quite a bump to an old thread, but it may serve someone.

There are buses leaving from Cali (they have to pass trhough Popayan, but I don’t think they stop there) to Quito and Lima. The company name is Ormeño.

From Popayan to Cali is a relatively short ride (2 hours in a bus), and you can contact Ormeño at Cali’s Terminal de Transportes. The contact information I could retrieve is this, I’m not sure if it’s accurate as of today:

CALI
Dirección: Terminal de Transportes de Cali, Calle 30N Av. 2A ­ 29, Local 200
Contacto: (2) ­6617083 / (2) 6687868 - / 314 633 2436

Please remember that Colombia’s country code is +57.

My bus hasn’t left Salem for several hours, no ETA updated – It’s hours behind schedule, What should I do?

I’m waiting for my bus which was scheduled to pick up an hour ago at 1am. I have been tracking it since 10pm, and its ETA hasn’t changed and it shows that the bus is stopped in Salem, hours from where I am, and this has been the status so far. However, the time of its arrival in Salem changed from 10pm to 11:15pm. According to the tracker, its just sitting in Salem. I don’t want to leave unless it shows up, but I also don’t want to remain at the bus stop for hours. There is one bus every 24 hours on this route. The call center doesn’t open until 10am. The 48 hour rule dictates that I’ll need to purchase another ticket if I don’t board this bus, regardless of the reason. Several people are waiting here for the north-bound bus in the hope it’s driver will have answers.

Any help?

public transport – My bus hasnt left Salem for several hours, no ETA updated .. But its ETA for Salem changed by adding an hour. It’s hours behind schedule, What to do?

Im waiting for my bus which was scheduled to pick up an hour ago @ 1am.. I have been tracking it since 10pm, and its ETA hasnt changed and it shows that the bus is stopped in Salem, hours from where I am.. and this has been the status thus far; however the time of its arrival in Salem changed from 10pm to 11:15pm. According to the tracker, its just sitting in Salem.. I dont want to leave incease it shows up. I dont want to remain at the bus stop for hours.. there is but one bus every 24 hours on this route.. Call center doesnt open until 10am.. 48 hour rule dictates I’ll need to purchase another ticket if I dont board this bus, regardless of the reason.. Calling was a dead end.. several people are waiting here for the north bound in the hope its driver will have answers..

design – Is message-oriented approach useful in case of non-persistent message bus?

I’m designing a software which consists of two traditional parts: FE and BE. I decided to go with DDD approach for modelling the BE for all the benefits it provides. However, since scalability isn’t my priority and the software (based on its size and nature) can easily handle being a monolith, I decided to go down the route of the “modular monolith”. However, employing message-driven approach (CQRS and Event Sourcing) seems like introducing the unnecessary complexity, plus (and this is the biggest concern) I’m not a fan of eventual consistency in this case, since my software needs to be resilient to restarts and there aren’t any good library options for persistent, in-memory queues. Therefore, going with direct method calls between API, Services and Entities seems to be the right choice. However, Domain Events seem to be indispensable to DDD and are a very, very useful tool which simplifies lots of dependencies.

  1. Are my worries about message-driven approach justified, or since all processing (including the queue and the broker) will be done in-memory, the speed of message propagation and processing will be the same (for all intends and purposes) as direct method calls between different objects and the system will have approximately (again, for all intends and purposes) the same resiliency towards restarts?
  2. What are alternative approaches for modelling dependencies which allow for the same cleanliness of design, other than Domain Events?