What’s the safest way to inform a new user of their password on my web site?

Hope this is the right forum for this.

I’m developing a web site where people will have accounts. However, unlike most web sites, user do not register, rather they are invited by the site admins. The site admins will create a new user profile, based on their email address, and then want the site to email them telling them that their profile is ready for use.

However, I’m not sure of the safest way to let people know of their password. In a normal registration, the user enters their password of choice, which is hashed and stored. All that remains is to send them a link to verify their email address.

In our case, they don’t register, so don’t supply a password. Whats the safest way to proceed?

This answer suggests sending them a link to a page where they can see their password, but I’m not sure if that has any benefits over sending them to a page where they can enter their own password. Actually, I think the latter suggestion is better, as if the password has already been set, the web page can inform them that the password has been set, and if this wasn’t them, to contact the admins immediately.

Anyone any suggestions or comments? Thanks

Do I need to inform the immigration/boarder about my extension for B1/B2 tourist visa since my extension will be less than 6 months?

It’s my first time traveling to US under my tourist visa, My first attempt was rejected and they ask me for more proof and info about my residency in Canada under PR. And I tried to get a ticket again to go to US for a couple of days with my documents this time and I was approved. My stay here in US supposed to be 2 weeks and 3 days and I want to extend my stay here in US. Do I need to inform the immigration/ Boarder about staying longer for 2 months or I don’t need to? Since my visa is cover for 6 months and my stay in US is less than 6 months?

Why does Brussels airport not inform passengers about gates details? (until the last moment)

I was at Brussels airport yesterday and was surprised that gates information are not published until (exactly) 15 minutes before boarding time. The panel says

Relax, gate info at 16:20

enter image description here

So I went to the gate as soon as it was known, and the aircraft was already there, connected to the passenger boarding bridge. Meaning the gate was definitely known for some time before it is published!

Then I queried some information from the staff ; and indeed, gate information is always only published 15 minutes before boarding time.

The only reason I could think of is BRU wants people to spend time in shops…

Is there another reason for not informing gate details earlier? (which is a bit annoying)

How to inform user that change will take time to reflect?

A form edit page works on the following logic:

If number of changes made during edit > original inputs, it can take up to 30 days for the changes to be reflected on the UI.

If the number of changes is < original inputs, it can take up to 7 days for the changes to be reflected.

How should I convey this message to the user? Is “You have made some changes. It can take up to 30 days for the change to be reflected on your interface.” a good message?

I’m primarily confused about 2 things:
1. Should they be informed about the logic behind the ETA?
2. Is “…change to be reflected on your interface” an understandable phrase? Even if the user a is non-native english speaker?

Schengen Visa: How to inform visa officer about the lack of a particular document?

So the situation is I work as a contractor for a US based company, hence instead of traditional salary slips, I have to raise invoices based on which my employer deposits money in my account.

I do have account statements, alongside copies of my invoices, from my employer that prove the money gets deposited in my account.

How do I convey this to the visa officer? Do I mention this in the cover letter, or do I need to mention it in a separate letter?

And a similar situation is with my tax returns, I have not yet filed for my tax returns. However, I have paid advance tax in the form of tax challan.

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

On weekends, I like booking cheap direct flights and flying to see a new city. However the number of direct routes from my airport is not that large and I’m always on the lookout for new destinations to pop up for booking.

Is there a website that can automate this for me and send me a notification whenever there are new direct flights from my local airport?

How to make raspberry pi to inform DNS server on router of its IPv6 address? [on hold]

Hosts on my local network get addresses from AT&T gateway. I can see all devices with their IP v4 and v6 address in “Device List” tab of the router web interface. Router also serves as a DNS server for local network and I can use host command to resolve host name to IP v4 and v6 address, e.g.

$   host grigorys-iphone grigorys-iphone has address grigorys-iphone has IPv6 address XXXX:XXXX:XXX:XXXX::d grigorys-iphone has IPv6 address XXXX:XXXX:XXX:XXXX:4d8a:9ff1:b0dd:a649 grigorys-iphone has IPv6 address fe80::1404:1dc:35b6:adc 


$   host desktop desktop has address desktop has IPv6 address XXXX:XXXX:XXX:XXXX:1c55:5137:1f5:42e7 desktop has IPv6 address XXXX:XXXX:XXX:XXXX:9833:6f77:822c:160e desktop has IPv6 address XXXX:XXXX:XXX:XXXX:41fb:5421:5a8d:6764 desktop has IPv6 address XXXX:XXXX:XXX:XXXX:643f:dcac:8d2e:d67e desktop has IPv6 address XXXX:XXXX:XXX:XXXX:891c:a3e6:113f:17fe desktop has IPv6 address XXXX:XXXX:XXX:XXXX:28d9:3a12:d68f:9fb7 desktop has IPv6 address fe80::a1a5:5b60:e49f:fa87 desktop has IPv6 address XXXX:XXXX:XXX:XXXX:a1a5:5b60:e49f:fa87 desktop has IPv6 address XXXX:XXXX:XXX:XXXX::48 desktop has IPv6 address XXXX:XXXX:XXX:XXXX:58be:e692:b62:52ba 

But when I try the same with Raspberry Pi I get just this

$   host raspberrypi raspberrypi has address 

and no IPv6 address, despite it having IPv6 both from DHCPv6 and SLAAC:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet  netmask  broadcast         inet6 fe80::9ae2:e23b:9ae2:872d  prefixlen 64  scopeid 0x20<link>         inet6 XXXX:XXXX:XXX:XXXX:c54d:5708:6026:d6f3  prefixlen 64  scopeid 0x0<global>         inet6 XXXX:XXXX:XXX:XXXX::2c  prefixlen 128  scopeid 0x0<global>         ether b8:27:eb:fb:2b:8f  txqueuelen 1000  (Ethernet)         RX packets 4474  bytes 934126 (912.2 KiB)         RX errors 0  dropped 739  overruns 0  frame 0         TX packets 362  bytes 55447 (54.1 KiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

What is even strange is that router does know about Raspberry Pi’s acquired IPv6 addresses and I see them in the address list:

MAC Address b8:27:eb:fb:2b:8f IPv4 Address / Name / raspberrypi Last Activity   Sat Mar 23 22:18:47 2019 Status  on Allocation  dhcp Connection Type     Wi-Fi Wi-Fi 4 bars 5 GHz Type: Home Name: MyWiFiSSID Mesh Client No IPv6 Address    XXXX:XXXX:XXX:XXXX::2c Type    dhcp Valid Lifetime  3600s Preferred Lifetime  3600s IPv6 Address    XXXX:XXXX:XXX:XXXX:c54d:5708:6026:d6f3 Type    slaac Valid Lifetime  3600s Preferred Lifetime  3600s IPv6 Address    fe80::9ae2:e23b:9ae2:872d Type    slaac Valid Lifetime  forever Preferred Lifetime  forever  

But no information about IPv6 address come from the DNS server. I tried adding inform6 (no arguments) option to /etc/dhcpcd.conf and rebooted Raspberry Pi, but that didn’t change anything.

The question is, how do I make Raspbian on Raspberry Pi to behave like all other hosts on the local network and make DNS server on router to know its IPv6 addresses? What am I missing?

Possibility to inform channel member using Pubnub

I am trying to build a chat application for which I have started using Pubnub. Here I have struck with one requirement. i.e When I create a new channel I need to notify the person who have been added into the newly created channel to join to that chat.

How can I achieve this using pubnub.I’ve gone through the document but didn’t find anything related to it.

Is there any possibility to do this?If yes can you please let me know the way to achieve this.

Thank you.

How to inform presenters of sub views of a main window about global data change in an MVC or MVP GUI app?

Suppose I’am writting a GUI desktop application which has a main window with a corresponding presenter. This main windows may host one or multiple panels which each also have their own presenter. The main window has a an input field where the user can set a global option. The panel sub views need to react to a change of the global option. When the user changes the global option the main presenter is called, stores the value and notifies its view (the main window) of the data change.

Now, my question is: How do I inform these panel sub views respectively their controllers of the changed global plot duration in a clean way respecting the pattern? I see multiple options but none really feels like a clean solution:

  1. The view notifies all the panel sub view of the changed gobal option after it was called by the presenter.
    The problem with this is, that the view is now handling the logic of informing the panels, even though the main window controller already knows that there are sub panels (To be specific: The main window controller does not have any object references to the panel view objects or their controller objects, only an id). This reduces testability in my opinion and, while working, doesn’t feel clean.

  2. There could be a shared model between the main presenter and the presenters of the panel sub views.
    If a new panel is created a reference to the main model would have to be passed into the panel presenter. The model would also need to have an observer approach to inform all the presenters of the data change. Until now I thought it’s not typical that the model emits events when the data changes in MVP

  3. The presenter informs the panel presenters of the change.
    For this the presenter would need to have a reference to each panel presenter which is currently not needed. This would complicate the data flow a bit and the moment of passing the panel presenter to the main presenter would be unclear to me, because the panel views create their presenters and the panel views themselves are created as a reaction of the presenter notifying the view to create a new panel.

May be I am missing an approach or you have any Idea how to structure this in a better way.