I’m reading Algorithm Design by Jon Kleinberg. In section 3.6, in order to compute the topological ordering of a DAG, one first finds a root node in this DAG, then deletes it from the DAG. The author claimed that this can be done in O(n).
How should I understand this time complexity? Just because we traverse all nodes in O(n)? But in the iteration for some node v, one also needs to traverse all its incident edges. Does that mean the time complexity should be O(m+n) or O(m)?
There is a virtual machine ( Virtual Box) managed by OS Xubuntu and a kippo( ssh-trap) on this one. NAT have been adjusted in the VM’s setups with port forwarding by this way: ssh tcp 195.x.x.x 22 10.0.2.15 22 (rule’s name—protocol—current host IP—host port—virtual machine’s IP—VM’s port). The Honeypot logs all connection attempts but writes VM’s gateway IP instead of incoming ones. Can anybody explain how to troubleshoot this problem?
I currently have an Ubuntu 18.04.3 I have 2 NICs setup with, both NICs point to different router’s. 1 is my normal network that is reachable through all my other devices and has access to the internet, the 2 one is a PFsense router that’s connected through VPN to the external network. The PFsense router is NATed behind my existing router and devices under this router can’t be reached by my other devices that aren’t under this router.
Here is my route table Route table
I want to be able to reach external internet through ens19 but still can connect to other devices on ens18 in my internal network
I’ve partially achieved this, i’m reaching the external network through ens19 and can reach the internal devices through ens18 from this machine, however if I try to connect to this device through ens18 it won’t work.
thank you in advance.
I have a OpenVPN running on my Ubuntu (18) Server and a tor proxy. OpenVPN is running on TCP Port 443 (to bypass strict firewalls). Tor is running internally as proxy on port 9050. I would like to route every traffic which is coming from OpenVPN through tor.
I have following ufw rules:
*nat :POSTROUTING ACCEPT [0:0] -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE COMMIT
I would like to do that with ufw (if possible). As far as I know ufw works on the same way like iptables. So it should be possible with ufw?
My second question would be about DNS. Currently my OpenVPN does NOT push any DNS server. How does DNS works when I connect via OpenVPN and the server does not push any dns? It is possible to do DNS also over (openvpn and) tor?
I just bought a 2017 Macbook Pro with the latest OS (Mojave). In the OS X Mojave Security and Privacy-Firewall settings, I set Firewall to “Block all incoming connections” as I am extra cautious, but will my software (such as Chrome web browser, Firefox, etc.) still get new updates? For example, will my Firefox browser still get the latest software updates or will I have to manually check for software updates because the firewall is blocking all incoming connections?
I have a calendar list on sharepoint 2016 for managing meetings in our organization. The problem is when we send a meeting by outlook to this list the Start and End Time field has about 14 hours difference with the actual start time however the Created time field is correct. we all checked the time zone of server,sharepoint regional setting,outlook and all of them are the same. The point is that incoming meeting that send from gmail is set on a correct time in this list. Does anyone have an idea to solve this problem?
Is there an option to manage sound notification behaviour on a Android phone?
Description: In the morning, I do watch YouTube lectures, but every minute or so I do receive Slack message, that mute the voice in the video for 5 seconds. It is really annoying, and hard to listen the lecture.
How it should be:
Option 1: Allow a notification to interrupt the sound/video stream without muting it (so the 'bip' would overlay/merge to the sound stream, but the video would continue). Option 2: (the current system state): Mute the application, but do not stop the video (very annoying)! Option 3: Mute the application, but stop the stream/video/music.
I know that there are some option to mute the phone (manual), or install an app (automatic), but I do not wan’t do mute the notification itself. I do want to hear it, just without muting the sound/video/music that is currently playing!
My system Android 5, Samsung Galaxy S5
Related topic: Disable Notification while watching Videos or Listening Music
I have a google form where multiple students will anonymously submit comments/feedback for another peer.
Currently I am using the formula below to essentially concatenate all of the student comments specific to the individual receiving feedback.
=(join(" ",transpose(iferror(filter($ L$ 3:$ L, $ C$ 3:$ C=$ C3,$ B$ 3:$ B=$ B3)))))
- The line break within the “join” function is to separate the individual comments by a line break.
- Column L: The original comment submitted by the students.
- Column C: Filters by the name of the student being evaluated.
- Column B: Secondary filter criteria.
I am currently using the add-on “CopyDown” to apply said formula to each new submission. However, I notice that the newer submissions do not concatenate prior entries even though the filter conditions are met; the formula works correctly when I manually copy/paste it into the cell.
Is there a way to alter the original formula to dynamically update the cell contents as new submissions are incoming? Perhaps through arrayformula?