Does the Rock Gnome trait Artificer’s Lore apply when you aren’t proficient in History?

Rock Gnomes have the following racial trait (PHB, p. 37):

Artificer’s Lore

Whenever you make an Intelligence (History) check related to magic items, alchemical objects, or technological devices, you can add twice your proficiency bonus, instead of any proficiency bonus you normally apply.

If I have a Rock Gnome who is proficient in History, then I normally apply my proficiency bonus to make History checks, but if the check is about, say, a magic item, I can add twice my proficiency bonus instead of just applying it once as normal. This much makes sense.

But what if my Rock Gnome isn’t proficient in History? Since I don’t apply any proficiency bonus normally (because I’m not proficient), I have nothing to apply instead of, like how you technically can’t have more of something if you haven’t had any yet. So does that mean I don’t apply my proficiency bonus twice, since ordinarily I don’t apply anything?

Initially I assumed that it probably means you get to treat the situation as though you are proficient in History in those circumstances (i.e. when the check is related to magic items, alchemical objects, or technological devices), but if we contrast it with a Dwarf’s Stonecunning trait (PHB, p. 20):

Stonecunning

Whenever you make an Intelligence (History) check related to the origin of stonework, you are considered proficient in the History skill and add double your proficiency bonus to the check, instead of your normal proficiency bonus.

For Stonecunning, it explicitly states that you are considered proficient in History for such checks, taking into account dwarven characters who are not proficient in History normally.

So, RAW, does the Rock Gnome trait Artificer’s Lore apply when you aren’t proficient in History?

Several of my ubuntu apps arent opening at all

Most of the apps that I currently need aren’t working, even after restarting several times and trying many online suggestions. It started when I tried upgrading from Ubuntu 18.10 to 19.04. I opened the software updater and it gave me an error about my python3 file being corrupted or something similar. I found a guide on how to fix this and i ran the following command: sudo ln -sf /usr/bin/python2.7 /usr/bin/python but I realized that was for a different version of python(after I ran it). When I tried to open the software updater again, it wouldn’t open. I looked up solutions to start this from terminal or other places, but found that the terminal didn’t open either. I don’t know what’s happening, and I’m too much of a linux noob to fix it, so I’m asking on here.

How can I download videos from Instagram that aren’t the first in a set?

I already know how to download a post with one video, or the first video out of many at https://www.vidpaw.com recommended by Reddit . Rather, I’m asking how to download subsequent videos starting from the second one.

I haven’t chanced on a post with multiple videos recently; if someone can link to one, I can link to one and make this question more intelligible?

Items that SHOULD be showing in a view, aren’t

So, I have a large list, with ~10,000 items. I have created several views that filter via indexed columns that show below the threshold amount.

But I just modified one of the views, (changed the displayed columns) and now when I search for a term, 1 or 2 items are displayed, when I know for a fact that there are many that the filter shouldn’t be filtering out, that never used to filter out before the change (which shouldn’t make any difference).

If I look through the list manually, I can find items that the search should have included.

I’m currently trying a reindexing, I’m not sure how long this is supposed to take, but it is a fairly large site.

I’ve noticed this peculiar behaviour before – any ideas?

TypeScript definitions aren’t found in new similar setup

I’m stuck with the following problem:

I started working with typesctipt and vs-code for wed development a long time ago, but it’s probably only 5-10% of my work – sometimes even less, so I#m not to deep into every detail.

I mostly only use jQuery and GSAP as external Libraries, and when I started years ago, I put “/// ” at the beginning of my files and included the .d.ts files in my _ts folder.

At some point with vscode updates and using npm with @types/— I strated getting errors for duplicated definitions, and found out that removing the reference tags on top of my files and deleting the definition files inside my folders helped – as typescript and used the definitions installed by npm with @types/— Or so I thought.

I’m working on Windows and I decided to get an new machine some days ago. Being a veteran of decades I usually do clean installs when getting new computers and so I did this time too. I installed vscode with the same extensions node.js and used npm for typescript install and the @types packages.

My works-paces are exactly the same as before, as I work on network disk, but to my surprise vscode would not find the definitions for jQuery.

"owner": "typescript", "code": "2304", "severity": 8, "message": "Cannot find name 'jQuery'.", "source": "ts", 

I compared the settings files of the two computers and found no clue whatsoever regarding the ts definitions.

Also there was no hint in the Windows system path variables

The tsconfig.json and the folder structure are identical, as I#m using the same network drive from both installations.

I researched for hours but as I’m not too familiar with npm and there is a lot of outdated information around (typings etc…) I’m at a loss.

The Old System grew over time and I’m guessing that maybe some remnant from older versions and configurations might make the old system do what I want, but I cannot find the difference.

Maybe someone can give me a hint.

How come I’m not getting an error in PHP when records aren’t inserting (prepared statement)?

Ok, here’s what I’m trying to do. I’m inserting some data into my database. It’s for a blog, and I have fields like author, tags, hidden meta tags, etc. I’ve been trying to figure this out for a few weeks. Essentially, I’m on my CMS and nothing seems to be inserting, yet I’m not getting any errors (even when forcing with error_reporting( E_ALL );). From what I can tell, everything is being submitted in the right order with the right variables Here’s my code below, and thanks for helping!

HTML:

<!DOCTYPE html> <html lang="en" dir="ltr">   <head>     <meta charset="utf-8">     <title>Admin Panel</title>     <link rel="stylesheet" href="../css/master.css">     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">       <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tag-editor/1.0.20/jquery.tag-editor.css">     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tag-editor/1.0.20/jquery.tag-editor.css">     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js" type="text/javascript"></script>     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jodit/3.2.34/jodit.min.css">     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.css">     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>      <script src="https://cdnjs.cloudflare.com/ajax/libs/tag-editor/1.0.20/jquery.tag-editor.js"></script>     <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/3.2.34/jodit.min.js"></script>     <script src="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js"></script>   </head>   <body>     <div class="admin">       <div class="a-padding"><li class="isni"><a href="#"><i class="fas fa-pen"></i> Write Posts</a></li></div>       <div class="a-padding"><li class="isni"><a href="#"><i class="fas fa-file-alt"></i> View Posts</a></li></div>       <div class="a-padding"><li class="isni"><a href="#"><i class="fas fa-bookmark"></i> Viewers</a></li></div>       <div class="a-padding"><li class="isni"><a href="#"><i class="fas fa-plus"></i> Widget</a></li></div>     </div>     <div class="main-body">       <h1>Start Writing</h1>       <form method="post">         <input type="text" name="title" placeholder="Title" class="form" required>         <div class="form-padding"><input type="text" name="author" placeholder="Author" class="form" required></div>         <div class="form-padding"><input type="text" name="imgurl" placeholder="IMG URL..." class="form"></div>         <div class="form-padding"><input type="text" name="tags" required></div>         <div class="form-padding"><input type="text" name="htags" required></div>         <div class="form-padding"><textarea id="body" name="bodydata" required></textarea></div>         <div class="spacer"><input type="checkbox" name="hpbox"> Make Highlight</div>         <input type="submit" name="post" class="form">       </form>       <!-- This is where the PHP lies -->     </div>      <script>       $  (document).ready(function() {         var editor = new Jodit("#body", {           "uploader": {             "insertImageAsBase64URI": true           }         });        });        $  ('input[name="tags"]').tagEditor({         placeholder: "Meta Tags",         animateDelete: 100       });        $  ('input[name="htags"]').tagEditor({         placeholder: "Hidden Meta Tags",         animateDelete: 100       });     </script>   </body> </html> 

PHP:

// This is before the HTML require '../imports/database.php';  error_reporting(E_ALL); date_default_timezone_set('America/Chicago');  // ------ This is the rest of it, placed where the comment is in the HTML section above   if (isset($  _POST["post"])) {           if (isset($  _POST["hpbox"])) {             $  title = $  _POST["title"];             $  author = $  _POST["author"];             $  imgurl = $  _POST["imgurl"];             $  tags = $  _POST["tags"];             $  htags = $  _POST["htags"];             $  bd = $  _POST["bodydata"];             $  date = date("D M d, Y");             $  time = date("h:i A");             $  p = "true";             $  harch_date = date("M Y");              $  pinsql = "UPDATE `posts` SET `hp`='false' WHERE `hp`='true'";              if ($  con->query($  pinsql) === TRUE) {               echo                '               <script type="text/javascript">                 iziToast.show({                   title: "Success!",                   message: "Queried highlight",                   backgroundColor: "#37c2dd"                 });               </script>               ';             } else {                 echo "Error updating record: " . $  con->error;             }              $  stmt = $  con->prepare("INSERT INTO `posts` (`title`, `author`, `image`, `bodydata`, `tags`, `htags`, `date`, `time`, `hp`, `arch_id`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");             $  stmt->bind_param("ssssssssss", $  title, $  author, $  imgurl, $  bd, $  tags, $  htags, $  date, $  time, $  p, $  harch_dat);              $  stmt->execute();             $  stmt->close();               echo              '             <script type="text/javascript">             iziToast.show({               title: "Success!",               message: "Post inserted",               backgroundColor: "#37c2dd"             });             </script>             ';           }else {            $  title = $  _POST["title"];           $  author = $  _POST["author"];           $  imgurl = $  _POST["imgurl"];           $  tags = $  _POST["tags"];           $  htags = $  _POST["htags"];           $  bd = $  _POST["bodydata"];           $  date = date("D M d, Y");           $  time = date("h:i A");           $  arch_date = date("M Y");           $  p = "false";            $  stmt = $  con->prepare("INSERT INTO `posts` (`title`, `author`, `image`, `bodydata`, `tags`, `htags`, `date`, `time`, `hp`, `arch_id`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");           $  stmt->bind_param("ssssssssss", $  title, $  author, $  imgurl, $  bd, $  tags, $  htags, $  date, $  time, $  p, $  arch_date);            $  stmt->execute();           $  stmt->close();           $  con->close();            echo            '           <script type="text/javascript">           iziToast.show({             title: "Success!",             message: "Post inserted",             backgroundColor: "#37c2dd"           });           </script>           ';         }       } 

Note: View entire file https://pastebin.com/xtmSGJRA

Speakers not working, unavailable, while headphones appear plugged when they aren’t

I’ve looked at many similar questions but unfortunately the solutions didn’t work for me. I have recently installed Ubuntu 18.04 and my speakers are not working nor they are detected in the settings, they are actually listed as not available after running pacmd command. They are working fine on windows so the problem must be related to the compatibility with the driver in ubuntu, but I suppose there must be some settings to fix it. here ill pastebin what I get from the sinks list: http://paste.ubuntu.com/p/vsQGjsk2yc/. It looks to me like the headphones and the speakers are in the same sink, although as you can see it gives the speaker as not available. Anyone knows how to handle it? I’ve tried out myself but I’m starting to give up…

Does Two-Weapon fighting work if you aren’t holding both weapons when you take the Attack action?

I have a question regarding two-weapon fighting (5e). My player group had a discussion about this, and answers on the internet seem to yield different interpretations.

Suppose the first (light) weapon is already drawn. Can you throw your first weapon, then draw your second (light) weapon in your other hand, and using your bonus action attack with that weapon? If so, does this allow you to get the bonus damage from dueling on both attacks?

Two-Weapon Fighting in the PHB reads:

When you take the Attack action and attack with a light melee weapon that you’re holding in one hand, you can use a Bonus Action to attack with a different light melee weapon that you’re holding in the other hand. You don’t add your ability modifier to the damage of the bonus attack, unless that modifier is negative.

If either weapon has the Thrown property, you can throw the weapon, instead of making a melee attack with it.

Does this have to be interpreted as:

  1. Hold a weapon in each hand -> attack with one weapon -> able to use bonus action to use the other weapon.

Or can it be interpreted as:

  1. Hold weapon in one hand -> attack with it -> able to use bonus action if, at any point, you wield a different weapon in your other hand.

If the second interpretation is correct, do you get the bonus damage from the dueling fighting style on both attacks, if you draw your second weapon after you attacked with the first one?