How do I telegraph to players that, because they let guards escape, the enemy fortress knows they’re coming?

I’m DM’ing for a group of mostly first-time players, and this is my first time DM’ing. At the end of last session they approached their first big dungeon (goblin fortress), attacked some guards, and let them escape inside. They’re now blissfully camped out front of the dungeon. The guards escaped; the fortress is alert; they’re camped out front. Obviously, there should be (fun) consequences for their sloppiness.

I know how to punish the players for letting the guards escape, like getting ambushed in the night, traps in the dungeon, enemies are ready for them, etc. However, how do I telegraph to the players that these things are happening because the enemies know they’re coming?

Since we’re all first inexperienced, I’m worried that anything “special” I throw at them will be seen as “normal goblin dungeon”. For example, I want the goblins to attack them in their sleep, or maybe they enter a room and all the goblins have their bows drawn and pointed at the players. How do I let the players know that’s happening because the guards escaped inside and alerted their buddies, and not just something that normally happens?

Punishing the players for being sloppy sounds like fun. But how do I let them know they’re being punished?

Proving a Greedy Algorithm is Incorrect by Providing Counter Example and Coming up with another correct algorithm

I want to come up with a counter example that proves the following greedy algorithm doesn’t work and give an alternative correct algorithm. The problem is I have an array of numbers and I want to reach the last element of the array in the minimum number of steps. At each step, I can move to any element with the same value, move forward one, or move backward one. The greedy criterion is to move furthest to the right as much as possible. For example, if we have array {1,2,3,4,1,5}, the algorithm will start at 1 move to 1 before the 5 then moves to 5 with number of steps of 2.

An an example of input instance that proves the given greedy algorithm wrong might be {1,2,1,3,2} where the given algorithm crosses the array in 3 steps whereas there is an optimal solution of moving from 1 to the second 2 right to last 2 in two steps. Now, what is a correct algorithm for solving this problem ?

18.04 crashes when coming back to GUI

I’ve read the article Switch to Console in Ubuntu 18.04 – How to Leave GUI? and this question.

I need to be able, while logged-in in the GUI, to go to tty and come back to GUI.

Here is what I do:

  1. I am in the GUI logged-in
  2. I press CTRL + ALT + F3 and I get the tty. I log in to this tty.
  3. Then I press CTRL + ALT + F1 and i get the GUI login screen. I put my password, I click “unlock” and it crashes. Nothing moves. Frozen screen.

I’ve also tried to go back to the gui with ALT + F2instead than CTRL + ALT + F2 – in this case it freeses in the tty.

Only hard reset can bring me to normality after reboot.

Please help me to resolve and in case of need to troubleshoot it. I don’t have idea where to find the logs if needed.


Why are some of my CQWPs coming back blank for Visitors?

I have a page with approx twenty CQWPs on them, all coming from the same library. It looks fine to me (Admin) but for the Visitor permission group, some boxes are coming up blank – no error message, just nothing! The header is still there and there is no error message. I’ve checked the library documents and there are no permission problems, and when I recreate one of the blank CQWPs (new web part with the same search parameters and display settings) the Visitor is still unable to see them. This does not appear to be a problem with web parts not set up with these settings. I’m at a loss! Grateful for any help.

Image of web parts showing 'blank' web parts as well as correctly showing webparts

sound is not coming out, but everything (alsa mixer etc…) seem to show that it is working fine!

Samsung notebook 9 pen (2019) seem to have an issue with all linux distros regarding sound. I don’t see any errors regarding sound in dmesg or anywhere for that matter. Sound settings in all distros shows as normal (e.g. from fedora 30 kde), but I’m no expert so please point out if this screenshot is showing an issue to be fixed: Fedora 30 KDE

Ubuntu (all flavors) also have this issue. Tried with original ISOs as well as updated kernel 5.x while trying different distros. Any help is appreciated.

Some More Logs (Fedora 30 KDE kernel 5.x)

~ $  lsmod | grep "^snd" | column -t snd_soc_skl               118784  0    snd_soc_hdac_hda          24576   1   snd_soc_skl snd_hda_codec_hdmi        61440   1    snd_hda_ext_core          32768   2   snd_soc_hdac_hda,snd_soc_skl snd_soc_skl_ipc           73728   1   snd_soc_skl snd_soc_sst_ipc           20480   1   snd_soc_skl_ipc snd_soc_sst_dsp           40960   1   snd_soc_skl_ipc snd_soc_acpi_intel_match  28672   1   snd_soc_skl snd_soc_acpi              16384   2   snd_soc_acpi_intel_match,snd_soc_skl snd_soc_core              270336  2   snd_soc_hdac_hda,snd_soc_skl snd_hda_codec_realtek     126976  1    snd_compress              28672   1   snd_soc_core snd_hda_codec_generic     90112   1   snd_hda_codec_realtek snd_pcm_dmaengine         16384   1   snd_soc_core snd_hda_intel             45056   6    snd_hda_codec             155648  5   snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda snd_hda_core              98304   8   snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl snd_hwdep                 16384   1   snd_hda_codec snd_seq                   86016   0    snd_seq_device            16384   1   snd_seq snd_pcm                   118784  9   snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine snd_timer                 40960   2   snd_seq,snd_pcm snd                       94208   23  snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm  ~ $  dmesg | grep -E "*fail*|*error*" [    1.599854] ACPI Error: Method parse/execution failed \_SB.PCI0.XHC.RHUB.USR1._PLD, AE_AML_PACKAGE_LIMIT (20181213/psparse-529) [    1.599891] ACPI Error: Method parse/execution failed \_SB.PCI0.XHC.RHUB.USR2._PLD, AE_AML_PACKAGE_LIMIT (20181213/psparse-529) [   12.354413] ioremap error for 0x3c399000-0x3c39a000, requested 0x2, got 0x0 [   12.354435] ucsi_acpi: probe of USBC000:00 failed with error -12 [   12.598086] iTCO_wdt: probe of iTCO_wdt failed with error -16 [   12.794876] thermal thermal_zone8: failed to read out thermal zone (-61)